Skip to content

Conversation

mgrundkoetter
Copy link
Contributor

On macOS the shell script does not produce usable output. The -n is present in the resulting js file which causes the newlines to be present as well which then causes the js file to be invalid. The "oneliner" echo version with variables does work in macOS, however. (I changed the -b back to -w here)

If this also works on other OS, it might be worth to change in the example code.

On macOS the shell script does not produce usable output. The `-n` is present in the resulting js file which causes the newlines to be present as well which then causes the js file to be invalid. The "oneliner" echo version with variables does work in macOS, however. (I changed the `-b` back to `-w` here)

If this also works on other OS, it might be worth to change in the example code.
@liborm85 liborm85 merged commit 1c2c847 into pdfmake:0.1 Jul 9, 2021
@liborm85
Copy link
Member

liborm85 commented Jul 9, 2021

Thanks.

liborm85 pushed a commit that referenced this pull request Jul 9, 2021
On macOS the shell script does not produce usable output. The `-n` is present in the resulting js file which causes the newlines to be present as well which then causes the js file to be invalid. The "oneliner" echo version with variables does work in macOS, however. (I changed the `-b` back to `-w` here)

If this also works on other OS, it might be worth to change in the example code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants