Skip to content

Commit 69089d5

Browse files
authored
Apply suggestion from @janisz
1 parent ccf14e6 commit 69089d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/templates/kubeconform/template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func init() {
3636
func validate(p params.Params) (check.Func, error) {
3737
// Create cache directory if it doesn't exist
3838
if p.Cache != "" {
39-
if err := os.MkdirAll(p.Cache, 0750); err != nil {
39+
if err := os.MkdirAll(p.Cache, 0o750); err != nil {
4040
return nil, fmt.Errorf("creating cache directory %s: %w", p.Cache, err)
4141
}
4242
}

0 commit comments

Comments
 (0)