Skip to content

Commit 47cfc56

Browse files
authored
Merge pull request #67 from codacy/fix-compile
fix: Use correct const name after merges
2 parents 00aa9c3 + a79ce2e commit 47cfc56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/analyze.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ var analyzeCmd = &cobra.Command{
283283
if err != nil {
284284
log.Fatalf("Failed to read merged SARIF output: %v", err)
285285
}
286-
os.WriteFile(outputFile, content, utils.DefaultRW)
286+
os.WriteFile(outputFile, content, utils.DefaultFilePerms)
287287
} else {
288288
// println the output file content
289289
content, err := os.ReadFile(tmpOutputFile)

0 commit comments

Comments
 (0)