mirror of https://github.com/databricks/cli.git
Fix more lint
This commit is contained in:
parent
6a5680afd5
commit
4c89292887
|
@ -15,8 +15,6 @@ import (
|
||||||
|
|
||||||
"github.com/databricks/cli/bundle/config/mutator/paths"
|
"github.com/databricks/cli/bundle/config/mutator/paths"
|
||||||
|
|
||||||
"github.com/databricks/cli/bundle/config/mutator/paths"
|
|
||||||
|
|
||||||
"github.com/databricks/databricks-sdk-go/logger"
|
"github.com/databricks/databricks-sdk-go/logger"
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
|
|
||||||
|
|
|
@ -730,7 +730,7 @@ func withProcessStub(t *testing.T, args []string, output, diagnostics, locations
|
||||||
}
|
}
|
||||||
|
|
||||||
func getArg(args []string, name string) string {
|
func getArg(args []string, name string) string {
|
||||||
for i := range len(args) {
|
for i := range args {
|
||||||
if args[i] == name {
|
if args[i] == name {
|
||||||
return args[i+1]
|
return args[i+1]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue