Skip to content
Snippets Groups Projects
Commit e43dd961 authored by Síle Ekaterin Liszka's avatar Síle Ekaterin Liszka
Browse files

Chessa::Bug{,::Adelie}: fix thinko

parent ef896426
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ sub parse {
$sigil = quotemeta '$';
}
case (/@[a-fA-F0-9]{7,}/) {
$type = 'commit';
$type = 'commits';
$sigil = quotemeta '@';
}
default {
......@@ -126,7 +126,7 @@ sub parse {
}
}
($project, $num) = split /$sigil/, $word;
if ($type eq 'commit') {
if ($type eq 'commits') {
$num =~ s/^([a-fA-F0-9]+).*/$1/;
} else {
$num =~ s/^(\d+).*/$1/;
......
......@@ -116,7 +116,7 @@ sub handle {
$func = \&issue;
} case ('merge_requests') {
$func = \&mr;
} case ('commit') {
} case ('commits') {
$base .= 'repository/';
$func = \&commit;
} case ('snippets') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment