Skip to content

Commit

Permalink
refactor(wip): gross-guild
Browse files Browse the repository at this point in the history
  • Loading branch information
sheldonhull committed Sep 27, 2022
1 parent 19c2d01 commit 45c3761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dga/dga.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func ActionsOpenEnvFile(cfg *Config) (*os.File, error) {
pterm.Info.Printfln("envFileName permission: %#o", fi.Mode().Perm())
}

envFile, err = os.OpenFile(envFileName, os.O_APPEND|os.O_WRONLY, os.FileMode(0o644)) //nolint:nosnakecase // these are standard package values and ok to leave snakecase.
envFile, err = os.OpenFile(envFileName, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0o644) //nolint:nosnakecase // these are standard package values and ok to leave snakecase.
if errors.Is(err, os.ErrNotExist) {
// See if we can provide some useful info on the existing permissions.

Expand Down

0 comments on commit 45c3761

Please sign in to comment.