Skip to content

Commit

Permalink
fix: make license flag required
Browse files Browse the repository at this point in the history
  • Loading branch information
faiq committed Aug 14, 2024
1 parent 269d4ac commit 9b73715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/tools/sync-helm-values/sync-values.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ func main() {
fmt.Println("failed to ensure full path for argument", err.Error())
os.Exit(1)
}
if kustomizeDir == "" || helmChartDir == "" {
fmt.Println("-helm-chart-directory and -kustomize-directory must be set")
if kustomizeDir == "" || helmChartDir == "" || licenseFile == "" {
fmt.Println("-helm-chart-directory -license-file -kustomize-directory must all be set")
os.Exit(1)
}
err = SyncHelmValues(kustomizeDir, helmChartDir, licenseFile)
Expand Down

0 comments on commit 9b73715

Please sign in to comment.