command start and end injector
parent
8b8fa69dc2
commit
81ca1ad876
|
|
@ -3244,6 +3244,9 @@ class ImageEnvironmentFactory {
|
||||||
const environmentVariables = ImageEnvironmentFactory.getEnvironmentVariables(parameters);
|
const environmentVariables = ImageEnvironmentFactory.getEnvironmentVariables(parameters);
|
||||||
let string = '';
|
let string = '';
|
||||||
for (const p of environmentVariables) {
|
for (const p of environmentVariables) {
|
||||||
|
if (p.value === '' || p.value === undefined) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
string += `--env ${p.name}="${p.value}" \
|
string += `--env ${p.name}="${p.value}" \
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -8,6 +8,9 @@ class ImageEnvironmentFactory {
|
||||||
const environmentVariables = ImageEnvironmentFactory.getEnvironmentVariables(parameters);
|
const environmentVariables = ImageEnvironmentFactory.getEnvironmentVariables(parameters);
|
||||||
let string = '';
|
let string = '';
|
||||||
for (const p of environmentVariables) {
|
for (const p of environmentVariables) {
|
||||||
|
if (p.value === '' || p.value === undefined) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
string += `--env ${p.name}="${p.value}" \
|
string += `--env ${p.name}="${p.value}" \
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue