Replace error with warn when failing to write config.yaml * try to modify config.yaml at start instead of modify it * replace error with warn when failing to write config.yaml --------- Co-authored-by: ccss <ccss>
Signed| @@ -238,7 +238,7 @@ export function addMissingConfigValues(configPath) { | ||
| 238 | 238 | |
| 239 | 239 | fs.writeFileSync(configPath, yaml.stringify(config)); |
| 240 | 240 | } catch (error) { |
| 241 | 241 | console.errorwarn(color.redyellow('FATAL: Could not add missing config values to config.yaml'), error); |
| 242 | 242 | } |
| 243 | 243 | } |
| 244 | 244 | |