diff --git a/.github/scripts/build.mjs b/.github/scripts/build.mjs index 172aaedb..f81dbcf3 100644 --- a/.github/scripts/build.mjs +++ b/.github/scripts/build.mjs @@ -158,7 +158,7 @@ async function template(id) { function testcase(name, env, args) { const { prod = {}, test = {}, ...step } = JSON.parse(JSON.stringify(args)) const context = { prod, test }[env] ?? {} - const {with:overrides} = context + const { with: overrides } = context if (context.skip) return null @@ -179,9 +179,8 @@ function testcase(name, env, args) { if (!(property in result.with)) result.with[property] = value } - if ((overrides?.output_action) && (overrides?.committer_branch === "examples")) { + if ((overrides?.output_action) && (overrides?.committer_branch === "examples")) Object.assign(result.with, { output_action: overrides.output_action, committer_branch: "examples" }) - } } if (env === "test") {