Do not include all env vars as secrets!

pull/461/head
Frostebite 2022-09-17 06:46:59 +01:00
parent 6daf32f531
commit 67696d6253
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -4720,7 +4720,7 @@ class TaskParameterSerializer {
}
static tryAddInput(array, key) {
const value = TaskParameterSerializer.getValue(key);
if (value !== undefined && value !== '') {
if (value !== undefined && value !== '' && value !== 'null') {
array.push({
ParameterKey: key,
EnvironmentVariable: key,

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -107,7 +107,7 @@ export class TaskParameterSerializer {
s;
private static tryAddInput(array, key): CloudRunnerSecret[] {
const value = TaskParameterSerializer.getValue(key);
if (value !== undefined && value !== '') {
if (value !== undefined && value !== '' && value !== 'null') {
array.push({
ParameterKey: key,
EnvironmentVariable: key,