Update compile_config.js
This commit is contained in:
@@ -28,7 +28,7 @@ const OUTPUT_PATH = resolve(_dirname, '../../../built/.config.json');
|
|||||||
function yamlToJson(ymlPath) {
|
function yamlToJson(ymlPath) {
|
||||||
if (!fs.existsSync(ymlPath)) {
|
if (!fs.existsSync(ymlPath)) {
|
||||||
console.warn(`YAML file not found: ${ymlPath}`);
|
console.warn(`YAML file not found: ${ymlPath}`);
|
||||||
process.exit(1);
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`${ymlPath} → ${OUTPUT_PATH}`);
|
console.log(`${ymlPath} → ${OUTPUT_PATH}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user