fix double-evaluation of macros in automatic main function

This commit is contained in:
2021-07-25 22:08:21 -06:00
parent a6bbe62442
commit dea92a13b4
2 changed files with 5 additions and 2 deletions

View File

@@ -24,4 +24,4 @@
(saladPdf.copyPages pdf [page]))))]
(doFor page pages (saladPdf.addPage (first page)))
(awaitLet [bytesOut (saladPdf.save)]
(Fs.writeFileSync "out.pdf" bytesOut))))))
(Fs.writeFileSync "out.pdf" bytesOut))))))