Skip to content

Commit

Permalink
[merge] PR #34 from aruZeta/fix/implicit-conversion-to-cstring-js-bac…
Browse files Browse the repository at this point in the history
…kend/1

Fixes: #31
  • Loading branch information
aruZeta authored Sep 20, 2022
2 parents 5fd51e9 + 5a6760b commit 1c75b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QRgen/private/DrawedQRCode/print.nim
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ proc printTerminal*(self: DrawedQRCode) =
result.add "\n"
result.add "\n\n\n\n\n"
when defined(js):
console.log result
console.log result.cstring
else:
stdout.write result

Expand Down

0 comments on commit 1c75b77

Please sign in to comment.