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

fix: add missing check env logic (#636)

parent fe473571
No related branches found
No related tags found
No related merge requests found
......@@ -20,9 +20,11 @@ const renderEnvVar = (envVars: EnvVar[]): string => {
(env.description
? `# ${env.description.replaceAll("\n", "\n# ")}\n`
: "") +
(env.name && env.value
? `${env.name}=${env.value}\n\n`
: `# ${env.name}=\n\n`),
(env.name
? env.value
? `${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