Skip to content

Commit cc3ebe0

Browse files
merge conflicts solved
1 parent 64c08e9 commit cc3ebe0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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)

cmd/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ func createToolFileConfigurations(tool tools.Tool, patternConfiguration []domain
329329

330330
func createPylintConfigFile(config []domain.PatternConfiguration, toolsConfigDir string) error {
331331
pylintConfigurationString := pylint.GeneratePylintRC(config)
332-
return os.WriteFile(filepath.Join(toolsConfigDir, "pylint.rc"), []byte(pylintConfigurationString), utils.DefaultRW)
332+
return os.WriteFile(filepath.Join(toolsConfigDir, "pylint.rc"), []byte(pylintConfigurationString), utils.DefaultFilePerms)
333333
}
334334

335335
func createDefaultPylintConfigFile() error {

0 commit comments

Comments
 (0)