From f6e52191c7467743b7c4d598a0ed9e729f393d95 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 22 Nov 2022 23:55:28 +0000 Subject: [PATCH] chore: code formatting --- source/app/action/index.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/app/action/index.mjs b/source/app/action/index.mjs index ea302ccf..42661ef1 100644 --- a/source/app/action/index.mjs +++ b/source/app/action/index.mjs @@ -319,7 +319,7 @@ function quit(reason) { } info("Previous render sha", committer.sha ?? "(none)") //Compatibility check - if ((_action === "gist")&&(["png", "jpeg", "markdown-pdf"].includes(_output))) + if ((_action === "gist") && (["png", "jpeg", "markdown-pdf"].includes(_output))) throw new Error(`"config_output: ${_output}" is not supported with "config_action: ${_action}"`) } else if (dryrun) { @@ -416,7 +416,6 @@ function quit(reason) { info("MIME type", mime) const buffer = typeof rendered === "object" ? rendered instanceof Buffer ? rendered : Buffer.from(JSON.stringify(rendered)) : Buffer.from(`${rendered}`) - //Debug print if (dprint) { info.break() @@ -451,8 +450,9 @@ function quit(reason) { committer.commit = false } } - else + else { info("Output condition", `Not applicable for ${_output}`) + } //Save output to renders output folder if (dryrun)