kustomize build loads transformer configs when path argument omitted

This commit is contained in:
ryane
2018-10-25 09:56:46 -04:00
parent ec86b30d2b
commit 9f73341271

View File

@@ -96,9 +96,9 @@ func (o *buildOptions) Validate(args []string, p string, fs fs.FileSystem) error
}
if len(args) == 0 {
o.kustomizationPath = "./"
return nil
} else {
o.kustomizationPath = args[0]
}
o.kustomizationPath = args[0]
if p == "" {
return nil