(config: Config, extConfig: ExternalConfig, newConfigPath: string)
| 145 | } |
| 146 | |
| 147 | async function mergeConfig(config: Config, extConfig: ExternalConfig, newConfigPath: string): Promise<void> { |
| 148 | const oldConfig = { ...config.app.extConfig }; |
| 149 | const newConfig = { ...oldConfig, ...extConfig }; |
| 150 | |
| 151 | await writeConfig(newConfig, newConfigPath); |
| 152 | } |
| 153 | |
| 154 | function printNextSteps(newConfigName: string) { |
| 155 | logSuccess(`${c.strong(newConfigName)} created!`); |
no test coverage detected