Skip to content

Commit

Permalink
Replace multiple ids in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Apr 19, 2021
1 parent a0a34d2 commit 78ed131
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export async function searchGitHubIssues(
message: string,
): Promise<GitHubIssue | null> {
// Remove Fiber IDs from error message (as those will be unique).
message = message.replace(/"[0-9]+"/, '');
message = message.replace(/"[0-9]+"/g, '');

const filters = [
'in:title',
Expand Down

0 comments on commit 78ed131

Please sign in to comment.