-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
annoying newline after an empty diff #1781
Milestone
Comments
What is malformed? |
Even if I use the -n option after the first echo command, the output will be
What I want, using the -n option, is
Very minor, I know. |
In other words, the output is not an empty string '' but a newline "\n". |
gsherwood
added a commit
that referenced
this issue
Dec 14, 2017
Annoying no more! |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a very minor bug, but annoying for me.
If I run
phpcs --report=diff
in absence of errors and warnings, a newline is printed.
So, for example, my pre-commit git hook results malformed
Yes, it's really minor, but grrrr >:-(
Regards (and thanks),
HUjuice
The text was updated successfully, but these errors were encountered: