Skip to content

Commit

Permalink
fix: don't error if policy out dir exists
Browse files Browse the repository at this point in the history
  • Loading branch information
hennersz committed Jan 20, 2023
1 parent 3fad339 commit 3aa95ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/execute/execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func conductExecute(componentDefinitionPaths []string, resourcePaths []string, d
}

func conductGenerate(componentDefinitionPaths []string, outDirectory string) error {
err := os.Mkdir(outDirectory, 0755)
err := os.MkdirAll(outDirectory, 0755)
if err != nil {
logrus.Error("error creating output directory: ", err)
return err
Expand Down

0 comments on commit 3aa95ad

Please sign in to comment.