Describe the bug
Looping through a list renders newlines inconsistently between linux and windows. Specifically, windows seems to add extra newline after every row, when linux doesn't.
To Reproduce
Use the following to print a list of keypair values:
On Linux:
KEY1=VALUE1KEY2=VALUE2
On Windows:
KEY1=VALUE1
KEY2=VALUE2
Expected behavior
Expectation is that rendering newline characters regardless of environment.
Package & Environment Details
Environment: Node v16.19.1
Windows Rendering: windows 10 using vscode, running bash
Linux: windows 11 using WSL, and a jenkins box running linux (unsure what flavor)
Version: "^1.2.8",
Additional context
I think windows is the problem here. If I copy the example from your REPL exactly (note the newlines before and after what's being printed):
Describe the bug Looping through a list renders newlines inconsistently between linux and windows. Specifically, windows seems to add extra newline after every row, when linux doesn't.
To Reproduce Use the following to print a list of keypair values:
On Linux:
On Windows:
Expected behavior Expectation is that rendering newline characters regardless of environment.
Package & Environment Details
Additional context I think windows is the problem here. If I copy the example from your REPL exactly (note the newlines before and after what's being printed):
I get an output that yields:
There is a bunch of unexpected whitespace when compared to this: