Skip to content

Commit

Permalink
Fix emoji auto warning false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayyy committed Oct 18, 2024
1 parent f09719a commit b129d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/submission/autoWarning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const autoWarningChecks: AutoWarningCheck[] = [
error: chrome.i18n.getMessage("DeArrowEmojiWarning"),
check: (title) => {
return {
found: cleanEmojis(title) !== title.trim()
found: cleanEmojis(title.trim()) !== title.trim()
};
},
id: "emoji"
Expand Down

0 comments on commit b129d25

Please sign in to comment.