Skip to content

Commit ced6df6

Browse files
committed
Fix message
1 parent a9c521a commit ced6df6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/view/pullRequestCommentController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ export class PullRequestCommentController extends CommentControllerBase implemen
560560
// Ignore permission errors when removing reactions due to race conditions
561561
// See: https://github.com/microsoft/vscode/issues/69321
562562
const errorMessage = formatError(e);
563-
if (errorMessage.includes('does not have the correct permissions to execute \'RemoveReaction\'')) {
563+
if (errorMessage.includes('does not have the correct permissions to execute `RemoveReaction`')) {
564564
// Silently ignore this error - it occurs when quickly toggling reactions
565565
return;
566566
}

src/view/reviewCommentController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ ${suggestionInformation.suggestionContent}
988988
// Ignore permission errors when removing reactions due to race conditions
989989
// See: https://github.com/microsoft/vscode/issues/69321
990990
const errorMessage = formatError(e);
991-
if (errorMessage.includes('does not have the correct permissions to execute \'RemoveReaction\'')) {
991+
if (errorMessage.includes('does not have the correct permissions to execute `RemoveReaction`')) {
992992
// Silently ignore this error - it occurs when quickly toggling reactions
993993
return;
994994
}

0 commit comments

Comments
 (0)