From 0b1a7becb84ac541e9759a30dc1b599170f6c20b Mon Sep 17 00:00:00 2001 From: Pier-Paolo Mammi Date: Fri, 26 Jun 2026 15:07:34 +0200 Subject: [PATCH] emit also variable value in the env template --- scripts/generate-http-docs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-http-docs.js b/scripts/generate-http-docs.js index 36498a1..01b3d0b 100644 --- a/scripts/generate-http-docs.js +++ b/scripts/generate-http-docs.js @@ -492,7 +492,7 @@ function writeEnvironmentTemplates(sourceDir, outputRoot) { } } - const templateContent = variableNames.length > 0 ? `${variableNames.join('\n')}\n` : ''; + const templateContent = variableNames.length > 0 ? `${variableNames.map(v => `${v}={{${v}}}`).join('\n')}\n` : ''; fs.writeFileSync(path.join(targetDir, '.env.template'), templateContent, 'utf8'); } }