All multi-line parameters in ImageEnvFactory should use --env {paramter} notation rather than --env{name}={value}

pull/310/head
Frostebite 2021-12-29 19:24:13 +00:00
parent 6f7c978890
commit 5555777610
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -3226,7 +3226,7 @@ class ImageEnvironmentFactory {
if (p.value === '' || p.value === undefined) {
continue;
}
if (p.value.includes(`\n`)) {
if (p.value.toString().includes(`\n`)) {
string += `--env ${p.name} `;
continue;
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -11,7 +11,7 @@ class ImageEnvironmentFactory {
if (p.value === '' || p.value === undefined) {
continue;
}
if (p.value.includes(`\n`)) {
if (p.value.toString().includes(`\n`)) {
string += `--env ${p.name} `;
continue;
}