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 to echo.
Example ShellJS command to reproduce the error:
shell.echo(`A`).toEnd(`test.txt`);
shell.echo(`B`).toEnd(`test.txt`);
test.txt becomes: AB
echo A >> test.txt
echo B >> test.txt
test.txt becomes: