do not set undefined values
This commit is contained in:
		
							parent
							
								
									72a9afa27d
								
							
						
					
					
						commit
						7b6fa4b784
					
				| 
						 | 
					@ -453,8 +453,8 @@ class PipelineInfo{
 | 
				
			||||||
            for (let k in configStruct) {
 | 
					            for (let k in configStruct) {
 | 
				
			||||||
                let struct = configStruct[k];
 | 
					                let struct = configStruct[k];
 | 
				
			||||||
                if (round > 0) config[k] = struct.key;
 | 
					                if (round > 0) config[k] = struct.key;
 | 
				
			||||||
                if (struct.target !== undefined) {
 | 
					                if (struct.target !== undefined && struct.value !== undefined) {
 | 
				
			||||||
                    if (struct.target === 'environment') {
 | 
					                    if (struct.target === 'environment' ) {
 | 
				
			||||||
                        if (round > 0) environment = struct.value;
 | 
					                        if (round > 0) environment = struct.value;
 | 
				
			||||||
                        else allowedResources=struct.resource;
 | 
					                        else allowedResources=struct.resource;
 | 
				
			||||||
                        continue;
 | 
					                        continue;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue