Skip to content

Commit 9b73715

Browse files
committed
fix: make license flag required
1 parent 269d4ac commit 9b73715

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hack/tools/sync-helm-values/sync-values.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ func main() {
7070
fmt.Println("failed to ensure full path for argument", err.Error())
7171
os.Exit(1)
7272
}
73-
if kustomizeDir == "" || helmChartDir == "" {
74-
fmt.Println("-helm-chart-directory and -kustomize-directory must be set")
73+
if kustomizeDir == "" || helmChartDir == "" || licenseFile == "" {
74+
fmt.Println("-helm-chart-directory -license-file -kustomize-directory must all be set")
7575
os.Exit(1)
7676
}
7777
err = SyncHelmValues(kustomizeDir, helmChartDir, licenseFile)

0 commit comments

Comments
 (0)