Skip to content

Commit

Permalink
use starting line of second hunk. fixes #109
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Mar 6, 2016
1 parent 47545cd commit 9d0fe39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/header_clean/header_clean.pl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
print $1; # Print out whatever color we're using
}

my ($start_line) = $file_str =~ m/(.+?),/;
my ($start_line) = $file_str =~ m/\+(\d+)/;
$start_line = abs($start_line + 0);

$last_file_seen = basename($last_file_seen);
Expand Down

0 comments on commit 9d0fe39

Please sign in to comment.