Update compile_config.js

This commit is contained in:
syuilo 2025-12-04 15:37:11 +09:00 committed by GitHub
parent 321c361559
commit 4b14265ec2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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}`);