Skip to content

Commit

Permalink
resourcegen: use MkdirAll
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Mar 19, 2024
1 parent 906d01c commit a0599c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/internal/kuberesource/resourcegen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func main() {
os.Exit(1)
}

if err := os.Mkdir(path.Dir(dest), 0o755); err != nil {
if err := os.MkdirAll(path.Dir(dest), 0o755); err != nil {
fmt.Println(err)
os.Exit(1)
}
Expand Down

0 comments on commit a0599c4

Please sign in to comment.