mirror of https://github.com/databricks/cli.git
clean up
This commit is contained in:
parent
b50227afbe
commit
21a4cd1128
|
@ -46,11 +46,9 @@ func DetectExecutable(ctx context.Context) (string, error) {
|
|||
if err != nil && !errors.Is(err, exec.ErrNotFound) {
|
||||
return "", err
|
||||
}
|
||||
|
||||
if out != "" {
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// otherwise, detect all interpreters and pick the least that satisfies
|
||||
// minimal version requirements
|
||||
all, err := DetectInterpreters(ctx)
|
||||
|
|
Loading…
Reference in New Issue