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 863fcac commit a9de61fCopy full SHA for a9de61f
src/renderer/utils/api/utils.ts
@@ -28,6 +28,6 @@ export function getNextURLFromLinkHeader(
28
response: AxiosResponse,
29
): string | null {
30
const linkHeader = response.headers.link;
31
- const matches = linkHeader?.match(/<([^>]+)>;\s*rel="next"/);
+ const matches = linkHeader?.match(/<([^<>]+)>;\s*rel="next"/);
32
return matches ? matches[1] : null;
33
}
src/renderer/utils/subject.ts
@@ -338,8 +338,7 @@ export function parseLinkedIssuesFromPr(pr: PullRequest): string[] {
338
return linkedIssues;
339
340
341
- const regexPattern = /\s*#(\d+)\s*/gi;
342
-
+ const regexPattern = /\s?#(\d+)\s?/gi;
343
const matches = pr.body.matchAll(regexPattern);
344
345
for (const match of matches) {
0 commit comments