Update compile_config.js
This commit is contained in:
parent
fbe3966b29
commit
321c361559
|
|
@ -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}`);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue