mirror of https://github.com/databricks/cli.git
s/.git/[leafName]
Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
This commit is contained in:
parent
a623cfdd23
commit
d0b088af9a
|
@ -154,7 +154,7 @@ func findLeafInTree(p string, leafName string) (string, error) {
|
||||||
_, err = os.Stat(filepath.Join(p, leafName))
|
_, err = os.Stat(filepath.Join(p, leafName))
|
||||||
|
|
||||||
if err == nil {
|
if err == nil {
|
||||||
// found .git in p
|
// Found [leafName] in p
|
||||||
return p, nil
|
return p, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue