function writeJSONConfigFile(config, filePath) {
    debug(`Writing JSON config file: ${filePath}`);

    const content = stringify(config, { cmp: sortByKey, space: 4 });

    fs.writeFileSync(filePath, content, "utf8");
}
function writeJSONConfigFile(config, filePath) {
    debug(`Writing JSON config file: ${filePath}`);

    const content = stringify(config, { cmp: sortByKey, space: 4 });

    fs.writeFileSync(filePath, content, "utf8");
}
function writeJSONConfigFile ( config , filePath ) { debug ( ` ${ filePath } ` ) ; const content = stringify ( config , { cmp : sortByKey , space : 4 } ) ; fs . writeFileSync ( filePath , content , "utf8" ) ; }
Writes a configuration file in JSON format.
@param {Object} config The configuration object to write.
@param {string} filePath The filename to write to.
@returns {void}
@private
Writes a configuration file in JSON format .
Write a JSON config file