chore: code formatting
This commit is contained in:
5
.github/scripts/build.mjs
vendored
5
.github/scripts/build.mjs
vendored
@@ -158,7 +158,7 @@ async function template(id) {
|
|||||||
function testcase(name, env, args) {
|
function testcase(name, env, args) {
|
||||||
const { prod = {}, test = {}, ...step } = JSON.parse(JSON.stringify(args))
|
const { prod = {}, test = {}, ...step } = JSON.parse(JSON.stringify(args))
|
||||||
const context = { prod, test }[env] ?? {}
|
const context = { prod, test }[env] ?? {}
|
||||||
const {with:overrides} = context
|
const { with: overrides } = context
|
||||||
if (context.skip)
|
if (context.skip)
|
||||||
return null
|
return null
|
||||||
|
|
||||||
@@ -179,9 +179,8 @@ function testcase(name, env, args) {
|
|||||||
if (!(property in result.with))
|
if (!(property in result.with))
|
||||||
result.with[property] = value
|
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" })
|
Object.assign(result.with, { output_action: overrides.output_action, committer_branch: "examples" })
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (env === "test") {
|
if (env === "test") {
|
||||||
|
|||||||
Reference in New Issue
Block a user