mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-17 17:52:12 +00:00
fix test on macos
This commit is contained in:
@@ -106,7 +106,7 @@ metadata:
|
|||||||
for _, e := range os.Environ() {
|
for _, e := range os.Environ() {
|
||||||
// the process env
|
// the process env
|
||||||
parts := strings.Split(e, "=")
|
parts := strings.Split(e, "=")
|
||||||
if parts[0] == "" || parts[1] == "" {
|
if parts[0] == "" || parts[1] == "" || shouldEnvIgnored(parts[0]) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
tt.expectedArgs = append(tt.expectedArgs, "-e", parts[0])
|
tt.expectedArgs = append(tt.expectedArgs, "-e", parts[0])
|
||||||
|
|||||||
Reference in New Issue
Block a user