Skip to content

Commit f6e5219

Browse files
chore: code formatting
1 parent f40e0a9 commit f6e5219

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/app/action/index.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ function quit(reason) {
319319
}
320320
info("Previous render sha", committer.sha ?? "(none)")
321321
//Compatibility check
322-
if ((_action === "gist")&&(["png", "jpeg", "markdown-pdf"].includes(_output)))
322+
if ((_action === "gist") && (["png", "jpeg", "markdown-pdf"].includes(_output)))
323323
throw new Error(`"config_output: ${_output}" is not supported with "config_action: ${_action}"`)
324324
}
325325
else if (dryrun) {
@@ -416,7 +416,6 @@ function quit(reason) {
416416
info("MIME type", mime)
417417
const buffer = typeof rendered === "object" ? rendered instanceof Buffer ? rendered : Buffer.from(JSON.stringify(rendered)) : Buffer.from(`${rendered}`)
418418

419-
420419
//Debug print
421420
if (dprint) {
422421
info.break()
@@ -451,8 +450,9 @@ function quit(reason) {
451450
committer.commit = false
452451
}
453452
}
454-
else
453+
else {
455454
info("Output condition", `Not applicable for ${_output}`)
455+
}
456456

457457
//Save output to renders output folder
458458
if (dryrun)

0 commit comments

Comments
 (0)