Fixed bug in es_release_notes script
This commit is contained in:
parent
1bd2a491d1
commit
ea94535557
|
@ -136,8 +136,7 @@ sub fetch_issues {
|
||||||
next unless $issue->{pull_request};
|
next unless $issue->{pull_request};
|
||||||
for ( $issue->{body} =~ m{(?:#|${User_Repo}issues/)(\d+)}g ) {
|
for ( $issue->{body} =~ m{(?:#|${User_Repo}issues/)(\d+)}g ) {
|
||||||
$seen{$_}++;
|
$seen{$_}++;
|
||||||
$issue->{related_issues} ||= [];
|
push @{ $issue->{related_issues} }, $_;
|
||||||
push @{$issue}{related_issues}, $_;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$page++;
|
$page++;
|
||||||
|
|
Loading…
Reference in New Issue