diff --git a/cmd/cli/main.go b/cmd/cli/main.go index 22b88b338..f6a01fb9e 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -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) }