Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
gshilei committed Nov 28, 2024
1 parent 5979036 commit 39a302a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/modules/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func NewPluginClient(modulePluginPath, moduleName, workingDir string) (*plugin.C
}
}
logFilePath = filepath.Join(logDir, moduleName+".log")
logFile, err := os.OpenFile(logFilePath, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
logFile, err := os.OpenFile(logFilePath, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0o644)
if err != nil {
return nil, fmt.Errorf("failed to open module %s log file: %w", moduleName, err)
}
Expand Down

0 comments on commit 39a302a

Please sign in to comment.