File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments