Skip to content
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

header_clean.pl error: Argument "-1 +0" isn't numeric #109

Closed
paulirish opened this issue Mar 6, 2016 · 1 comment
Closed

header_clean.pl error: Argument "-1 +0" isn't numeric #109

paulirish opened this issue Mar 6, 2016 · 1 comment
Assignees

Comments

@paulirish
Copy link
Member

Getting this.. Appears to be on certain hunk headers..

:Argument "-1 +0" isn't numeric in addition (+) at /Users/paulirish/code/diff-so-fancy/libs/header_clean/header_clean.pl line 71, <> line 506.

Looks like it's running up against this input:

diff --git a/bin/push b/bin/push
deleted file mode 120000
index 3208f92..0000000
--- a/bin/push
+++ /dev/null
@@ -1 +0,0 @@
-git-friendly/push
\ No newline at end of file

in particular -1 +0,0 when it was expecting a ,X after the -1

@paulirish
Copy link
Member Author

Fix incoming…

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

No branches or pull requests

2 participants