You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iferr:=os.WriteFile(path, []byte(result), config.ConfigFilePerm); err!=nil {//nolint:gosec // G703: path is the config file path resolved by the config loader
68
68
returnfmt.Errorf("failed to write config %q: %w", path, err)
iferr:=os.WriteFile(path, []byte(result), config.ConfigFilePerm); err!=nil {//nolint:gosec // G703: path is the config file path resolved by the config loader
121
121
returnfmt.Errorf("failed to write config %q: %w", path, err)
122
122
}
123
123
returnnil
@@ -167,7 +167,7 @@ func (u *DefaultConfigUpdater) SetExtensionEnabled(path string, extensionName st
167
167
returnfmt.Errorf("extensions section not found in config file %q", path)
iferr:=os.WriteFile(path, []byte(result), config.ConfigFilePerm); err!=nil {//nolint:gosec // G703: path is the config file path resolved by the config loader
171
171
returnfmt.Errorf("failed to write config %q: %w", path, err)
0 commit comments