Skip to content

Commit

Permalink
Update internal/utils/config.go
Browse files Browse the repository at this point in the history
Co-authored-by: Han Qiao <[email protected]>
  • Loading branch information
mosnicholas and sweatybridge authored Jan 16, 2024
1 parent 9596f42 commit 1897c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/utils/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ func InitConfig(params InitParams, fsys afero.Fs) error {
if err := MkdirIfNotExistFS(fsys, filepath.Dir(ConfigPath)); err != nil {
return err
}
f, err := fsys.OpenFile(ConfigPath, os.O_WRONLY|os.O_CREATE|os.O_EXCL, 0o644)
f, err := fsys.OpenFile(ConfigPath, os.O_WRONLY|os.O_CREATE|os.O_EXCL, 0644)
if err != nil {
return errors.Errorf("failed to create config file: %w", err)
}
Expand Down

0 comments on commit 1897c1c

Please sign in to comment.