From 5282a42b9f8be9592da5906c7cff7f61fc0385ff Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 18 Jan 2022 18:36:13 +0000 Subject: [PATCH] chore: code formatting --- .github/scripts/build.mjs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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") {