Log to google for GCP_LOGGING

pull/310/head
Frostebite 2022-01-01 21:55:22 +00:00
parent 5a655e59e7
commit 0e6f85b587
3 changed files with 1 additions and 15 deletions

6
dist/index.js vendored
View File

@ -2725,12 +2725,6 @@ class TaskParameterSerializer {
const configurableHooks = cloud_runner_build_command_process_1.CloudRunnerBuildCommandProcessor.getHooks();
const secrets = configurableHooks
.map((x) => x.secrets)
.map((z) => z.length > 1
? z
.map((x) => [x])
// eslint-disable-next-line unicorn/no-array-reduce
.reduce((x, y) => [...x, ...y])
: z)
// eslint-disable-next-line unicorn/no-array-reduce
.reduce((x, y) => [...x, ...y]);
array.push(secrets);

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -30,14 +30,6 @@ export class TaskParameterSerializer {
const configurableHooks = CloudRunnerBuildCommandProcessor.getHooks();
const secrets = configurableHooks
.map((x) => x.secrets)
.map((z) =>
z.length > 1
? z
.map((x) => [x])
// eslint-disable-next-line unicorn/no-array-reduce
.reduce((x, y) => [...x, ...y])
: z,
)
// eslint-disable-next-line unicorn/no-array-reduce
.reduce((x, y) => [...x, ...y]);
array.push(secrets);