Keep if statement after replacing

This commit is contained in:
Grzesiek11 2024-02-07 00:25:25 +01:00
parent 1df841b406
commit 86162b301a
No known key found for this signature in database
GPG key ID: 4A5445FB68CDB5C4

View file

@ -37,7 +37,7 @@ export default definePlugin({
find: ",findInlineEmojisFromSurrogates:", find: ",findInlineEmojisFromSurrogates:",
replacement: { replacement: {
match: /if\(!0!==.{1,2}&&!.{1,2}\.test\(.{1,2}\)\)/, match: /if\(!0!==.{1,2}&&!.{1,2}\.test\(.{1,2}\)\)/,
replace: "", replace: "if(true)",
}, },
}, },
], ],