New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Echo doesn't return value ending in a trailing newline #476
Comments
This has to do with the behavior of @gvn The fix is pretty trivial, it just involves appending a newline to the value returned by |
Ok cool. Yeah, would be good to fix, but I can add a newline manually for now. Thanks! |
@freitagbr do you want to take a look at this? |
Sure, I'll take a look. |
This is now fixed on trunk in #557 |
Node version:
v6.2.0
ShellJS version (the most recent version/Github branch you see the bug on):
0.7.0
Operating system:
OSX 10.11.5
Description of the bug:
Using
toEnd
doesn't prepend a newline when chained toecho
.Example ShellJS command to reproduce the error:
test.txt becomes:
AB
test.txt becomes:
The text was updated successfully, but these errors were encountered: