Merge "cosmetic: unnecessary method indirection"

This commit is contained in:
Usta Shrestha
2022-08-10 15:05:09 +00:00
committed by Gerrit Code Review

View File

@@ -66,9 +66,7 @@ var commands = []command{
{ {
flag: "--make-mode", flag: "--make-mode",
description: "build the modules by the target name (i.e. soong_docs)", description: "build the modules by the target name (i.e. soong_docs)",
config: func(ctx build.Context, args ...string) build.Config { config: build.NewConfig,
return build.NewConfig(ctx, args...)
},
stdio: stdio, stdio: stdio,
run: runMake, run: runMake,
}, { }, {