From 1897c1c4e0d92ee5fc4e1a8f1999d7d3a1e716fd Mon Sep 17 00:00:00 2001 From: Nicholas Moschopoulos Date: Tue, 16 Jan 2024 09:18:01 -0500 Subject: [PATCH] Update internal/utils/config.go Co-authored-by: Han Qiao --- internal/utils/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/utils/config.go b/internal/utils/config.go index c84423de0..6703c86f9 100644 --- a/internal/utils/config.go +++ b/internal/utils/config.go @@ -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) }