mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 10:00:56 +00:00
Don not pring package info in grep
This commit is contained in:
@@ -18,7 +18,7 @@ func DirsWithFile(root, fileName string, recurse bool) ([]string, error) {
|
||||
// else return empty list
|
||||
_, err := os.Stat(filepath.Join(root, fileName))
|
||||
if !os.IsNotExist(err) {
|
||||
res = append(res, root)
|
||||
res = append(res, filepath.Clean(root))
|
||||
}
|
||||
return res, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user