Skip to content

Commit

Permalink
Fix helm template input directory validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrej Petras committed Sep 21, 2020
1 parent 2c17c70 commit 4a968d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ func projectHelmFilter(project internal.Project, input, output string, clean boo
// output directory output + project.name
outputDir := filepath.FromSlash(output + "/" + project.Name())

if _, err := os.Stat(output); os.IsNotExist(err) {
if _, err := os.Stat(input); os.IsNotExist(err) {
log.Errorf("Input helm directory '%s' does not exists!", input)
os.Exit(1)
}
Expand Down

0 comments on commit 4a968d0

Please sign in to comment.