mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-30 01:46:23 +00:00
Reduce size of pgmconfig package
This commit is contained in:
@@ -63,7 +63,7 @@ func DefaultSrcRoot() (string, error) {
|
||||
nope = append(nope, root)
|
||||
|
||||
root = filepath.Join(
|
||||
pgmconfig.HomeDir(),
|
||||
homeDir(),
|
||||
pgmconfig.ProgramName, pgmconfig.PluginRoot)
|
||||
if FileExists(root) {
|
||||
return root, nil
|
||||
|
||||
Reference in New Issue
Block a user