We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c8fdb9 commit 61e6c97Copy full SHA for 61e6c97
pkg/templates/kubeconform/template.go
@@ -36,7 +36,7 @@ func init() {
36
func validate(p params.Params) (check.Func, error) {
37
// Create cache directory if it doesn't exist
38
if p.Cache != "" {
39
- if err := os.MkdirAll(p.Cache, 0750); err != nil {
+ if err := os.MkdirAll(p.Cache, 0o750); err != nil {
40
return nil, fmt.Errorf("creating cache directory %s: %w", p.Cache, err)
41
}
42
0 commit comments