Log to google for GCP_LOGGING
							parent
							
								
									b0e865ebaa
								
							
						
					
					
						commit
						9552ba9e09
					
				|  | @ -2723,12 +2723,9 @@ class TaskParameterSerializer { | ||||||
|         array = TaskParameterSerializer.readBuildParameters(array); |         array = TaskParameterSerializer.readBuildParameters(array); | ||||||
|         array = TaskParameterSerializer.readInput(array); |         array = TaskParameterSerializer.readInput(array); | ||||||
|         const configurableHooks = cloud_runner_build_command_process_1.CloudRunnerBuildCommandProcessor.getHooks(); |         const configurableHooks = cloud_runner_build_command_process_1.CloudRunnerBuildCommandProcessor.getHooks(); | ||||||
|         const secrets = configurableHooks |         const secrets = configurableHooks.map((x) => x.secrets).filter((x) => x !== undefined && x.length > 0); | ||||||
|             .map((x) => x.secrets) |         // eslint-disable-next-line unicorn/no-array-reduce
 | ||||||
|             .filter((x) => x !== undefined && x.length > 0) |         array.push(secrets.reduce((x, y) => [...x, ...y])); | ||||||
|             // eslint-disable-next-line unicorn/no-array-reduce
 |  | ||||||
|             .reduce((x, y) => [...x, ...y]); |  | ||||||
|         array.push(secrets); |  | ||||||
|         array = array.filter((x) => x.value !== undefined && x.name !== '0' && x.value !== '' && x.name !== 'prototype' && x.name !== 'length'); |         array = array.filter((x) => x.value !== undefined && x.name !== '0' && x.value !== '' && x.name !== 'prototype' && x.name !== 'length'); | ||||||
|         array = array.map((x) => { |         array = array.map((x) => { | ||||||
|             x.name = __1.Input.ToEnvVarFormat(x.name); |             x.name = __1.Input.ToEnvVarFormat(x.name); | ||||||
|  |  | ||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -28,12 +28,9 @@ export class TaskParameterSerializer { | ||||||
|     array = TaskParameterSerializer.readBuildParameters(array); |     array = TaskParameterSerializer.readBuildParameters(array); | ||||||
|     array = TaskParameterSerializer.readInput(array); |     array = TaskParameterSerializer.readInput(array); | ||||||
|     const configurableHooks = CloudRunnerBuildCommandProcessor.getHooks(); |     const configurableHooks = CloudRunnerBuildCommandProcessor.getHooks(); | ||||||
|     const secrets = configurableHooks |     const secrets = configurableHooks.map((x) => x.secrets).filter((x) => x !== undefined && x.length > 0); | ||||||
|       .map((x) => x.secrets) |     // eslint-disable-next-line unicorn/no-array-reduce
 | ||||||
|       .filter((x) => x !== undefined && x.length > 0) |     array.push(secrets.reduce((x, y) => [...x, ...y])); | ||||||
|       // eslint-disable-next-line unicorn/no-array-reduce
 |  | ||||||
|       .reduce((x, y) => [...x, ...y]); |  | ||||||
|     array.push(secrets); |  | ||||||
| 
 | 
 | ||||||
|     array = array.filter( |     array = array.filter( | ||||||
|       (x) => x.value !== undefined && x.name !== '0' && x.value !== '' && x.name !== 'prototype' && x.name !== 'length', |       (x) => x.value !== undefined && x.name !== '0' && x.value !== '' && x.name !== 'prototype' && x.name !== 'length', | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue