Skip to content

Commit ee7ed87

Browse files
committed
debug: print full config files
1 parent 70d3474 commit ee7ed87

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,17 +415,17 @@ runs:
415415
416416
// Read Nuxt-generated config (has main, assets, etc.)
417417
const rawNitro = fs.readFileSync(nitroConfigPath, "utf8");
418-
console.log("Raw Nitro config:", rawNitro.substring(0, 200));
418+
console.log("Raw Nitro config:", rawNitro);
419419
const nitroConfig = JSON.parse(rawNitro.replace(/,\s*([}\]])/g, "$1"));
420420
421421
// Read and parse environment config (has bindings, vars, etc.)
422422
const rawEnv = fs.readFileSync(envFilePath, "utf8");
423423
const cleanedEnv = stripJsonComments(rawEnv).replace(/,\s*([}\]])/g, "$1");
424-
console.log("Cleaned env config (first 300):", cleanedEnv.substring(0, 300));
424+
console.log("Cleaned env config:", cleanedEnv);
425425
const envConfig = JSON.parse(cleanedEnv);
426426
427427
// Parse build-env and add as base vars (wrangler env vars take precedence)
428-
console.log("Build env JSON (first 200):", buildEnvJson.substring(0, 200));
428+
console.log("Build env JSON:", buildEnvJson);
429429
const buildEnv = JSON.parse(buildEnvJson);
430430
if (Object.keys(buildEnv).length > 0) {
431431
envConfig.vars = { ...buildEnv, ...(envConfig.vars || {}) };

0 commit comments

Comments
 (0)