lib/export/jhipster_deployment_exporter.js
function writeDeploymentConfigs(deployment) {
  const folderName = deployment[GENERATOR_NAME].deploymentType;
  checkPath(folderName);
  createFolderIfNeeded(folderName);
  writeConfigFile(deployment, path.join(folderName, '.yo-rc.json'));
}
function writeDeploymentConfigs(deployment) {
  const folderName = deployment[GENERATOR_NAME].deploymentType;
  checkPath(folderName);
  createFolderIfNeeded(folderName);
  writeConfigFile(deployment, path.join(folderName, '.yo-rc.json'));
}
function writeDeploymentConfigs ( deployment ) { const folderName = deployment [ GENERATOR_NAME ] . deploymentType ; checkPath ( folderName ) ; createFolderIfNeeded ( folderName ) ; writeConfigFile ( deployment , path . join ( folderName , '.yo-rc.json' ) ) ; }
This function writes a Yeoman config file in a folder.
@param deployment the deployment.
This function writes a Yeoman config file in a folder .