mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 08:20:59 +00:00
Merge pull request #508 from ryane/fix-507
kustomize build loads transformer configs when path argument omitted
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user