From 7b6fa4b784501d7d8516aa5036d7b3aeb4a16320 Mon Sep 17 00:00:00 2001 From: andreas Date: Mon, 9 Oct 2023 18:50:38 +0200 Subject: [PATCH] do not set undefined values --- webinstall/cibuild.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webinstall/cibuild.js b/webinstall/cibuild.js index 38589f2..12829d2 100644 --- a/webinstall/cibuild.js +++ b/webinstall/cibuild.js @@ -453,8 +453,8 @@ class PipelineInfo{ for (let k in configStruct) { let struct = configStruct[k]; if (round > 0) config[k] = struct.key; - if (struct.target !== undefined) { - if (struct.target === 'environment') { + if (struct.target !== undefined && struct.value !== undefined) { + if (struct.target === 'environment' ) { if (round > 0) environment = struct.value; else allowedResources=struct.resource; continue;