src/node/settings.ts/SettingsProvider/write
class SettingsProvider:  public async write(settings: Partial<T>): Promise<void> {
    try {
      const oldSettings = await this.read()
      const nextSettings = { ...oldSettings, ...settings }
      await fs.writeFile(this.settingsPath, JSON.stringify(nextSettings, null, 2))
    } catch (error: any) {
      logger.warn(error.message)
    }
  }