Skip to content
Snippets Groups Projects
Unverified Commit e6b7f52d authored by Huu Le (Lee)'s avatar Huu Le (Lee) Committed by GitHub
Browse files

fix: add missing check env logic (#636)

parent b169db61
No related branches found
No related tags found
No related merge requests found
...@@ -20,9 +20,11 @@ const renderEnvVar = (envVars: EnvVar[]): string => { ...@@ -20,9 +20,11 @@ const renderEnvVar = (envVars: EnvVar[]): string => {
(env.description (env.description
? `# ${env.description.replaceAll("\n", "\n# ")}\n` ? `# ${env.description.replaceAll("\n", "\n# ")}\n`
: "") + : "") +
(env.name && env.value (env.name
? `${env.name}=${env.value}\n\n` ? env.value
: `# ${env.name}=\n\n`), ? `${env.name}=${env.value}\n\n`
: `# ${env.name}=\n\n`
: ""),
"", "",
); );
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment