1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 21:05:53 +00:00

eslint: unnecessary escape

This commit is contained in:
lemonslut 2025-06-08 01:12:35 -06:00
parent de5745c0c3
commit 9f532c3359
No known key found for this signature in database

View file

@ -147,7 +147,7 @@ export default {
let query = this.query.toLowerCase();
let flags = new Set;
query = query.replace(/(?<=^|\s)@(\S+)(?:\s+|$)/g, (match, flag, index) => {
query = query.replace(/(?<=^|\s)@(\S+)(?:\s+|$)/g, (match, flag) => {
if ( VALID_FLAGS.includes(flag) ) {
flags.add(flag);
return '';
@ -349,4 +349,4 @@ export default {
}
}
}
</script>
</script>