Skip to content

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

@paulirish

Description

@paulirish

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions