We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 286ce59 commit 29a8889Copy full SHA for 29a8889
libs/header_clean/header_clean.pl
@@ -23,8 +23,9 @@
23
#########################
24
# Look for the filename #
25
26
- if ($line =~ /^${ansi_sequence_regex}diff --git a\/(.+?) b\/(.+)/) {
+ if ($line =~ /^${ansi_sequence_regex}diff --git (.+?) /) {
27
$last_file_seen = $4;
28
+ $last_file_seen =~ s|a/||; # Remove a/
29
########################################
30
# Find the first file: --- a/README.md #
31
0 commit comments