code: async function updateConfig(updater) {
    await isReady();
    const newConfig = updater(config);
    validateSchema(
      configSchema,
      newConfig,
      'Please fix the config being used in Bolt CLI.',
    );
    // console.log('new config:');
    // console.log(newConfig);
    config = newConfig;
    if (config.prod) {
      process.env.NODE_ENV = 'production';
    }
    return config;
  }
docs: Update config
  @param {function} updater - This function is passed in current config and it returns new config.