Skip to content

Commit

Permalink
remove linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
almostinf committed Apr 18, 2024
1 parent 9e05a42 commit 185c7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ func openFile(filePath string, mode int) (*os.File, error) {
if filePath == "" {
return nil, fmt.Errorf("file is not specified")
}
file, err := os.OpenFile(filePath, mode, 0o666) //nolint:gofumpt,gomnd
file, err := os.OpenFile(filePath, mode, 0666) //nolint:gofumpt,gomnd
if err != nil {
return nil, fmt.Errorf("cannot open file: %w", err)
}
Expand Down

0 comments on commit 185c7cb

Please sign in to comment.