From 4b14265ec2bbc5e6be274d42a22f319aa8b48e1f Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Thu, 4 Dec 2025 15:37:11 +0900 Subject: [PATCH] Update compile_config.js --- packages/backend/scripts/compile_config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/scripts/compile_config.js b/packages/backend/scripts/compile_config.js index e78fa3dc9f..b5eea9c784 100644 --- a/packages/backend/scripts/compile_config.js +++ b/packages/backend/scripts/compile_config.js @@ -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}`);