gosec: Fix violations of G301 (#14980)

* gosec: Fix violations of G301

* Changelog fragment
This commit is contained in:
Preston Van Loon
2025-02-24 09:13:53 -06:00
committed by GitHub
parent 2ee015452c
commit 09499a732f
5 changed files with 8 additions and 5 deletions

View File

@@ -78,5 +78,5 @@ func getAndSaveFile(specDocUrl, outFilePath string) error {
}
func prepareDir(dirPath string) error {
return os.MkdirAll(dirPath, os.ModePerm)
return os.MkdirAll(dirPath, 0750)
}