Update compile_config.js
This commit is contained in:
parent
321c361559
commit
4b14265ec2
|
|
@ -27,8 +27,8 @@ const OUTPUT_PATH = resolve(_dirname, '../../../built/.config.json');
|
|||
*/
|
||||
function yamlToJson(ymlPath) {
|
||||
if (!fs.existsSync(ymlPath)) {
|
||||
console.warn(`YAML file not found: ${ymlPath}`);
|
||||
return;
|
||||
console.error(`YAML file not found: ${ymlPath}`);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
console.log(`${ymlPath} → ${OUTPUT_PATH}`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue