Skip to content

Commit

Permalink
reverse rendered files in onPostProcess (they were getting re-ordered…
Browse files Browse the repository at this point in the history
… by .pop()
  • Loading branch information
jjallaire authored and dragonstyle committed May 30, 2023
1 parent f31d3b1 commit 2f9f231
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/command/render/render-files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ function defaultPandocRenderer(
renderedFiles.push(await completion.complete(renderedFormats));
completion = renderCompletions.pop();
}
renderedFiles.reverse();
},
onComplete: async () => {
return {
Expand Down

0 comments on commit 2f9f231

Please sign in to comment.