Skip to content

Commit a63cc39

Browse files
authored
Merge pull request #50 from lestrrat-go/update-autodoc
fix regexp
2 parents 2a22c90 + edbd31d commit a63cc39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/autodoc.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# Use GITHUB_REF, but if the ref is develop/v\d, then use v\d
99
my $link_ref = $ENV{GITHUB_REF};
10-
$link_ref =~ s{^origin/refs/heads/}{};
10+
$link_ref =~ s{^refs/heads/}{};
1111

1212
my @files = @ARGV;
1313
my @has_diff;

0 commit comments

Comments
 (0)