Fix String
Some checks are pending
Sync to Codeberg / Sync Codeberg and Github (push) Waiting to run
Test / Test (push) Waiting to run

This commit is contained in:
thororen1234 2025-02-18 11:19:03 -05:00
parent bbdb4bb5bb
commit 672b771e1b
No known key found for this signature in database

View file

@ -24,7 +24,7 @@ function replaceHelper(
const beforeReplace = result; const beforeReplace = result;
result = result.replace( result = result.replace(
canonicalizeMatch(searchRegExp), canonicalizeMatch(searchRegExp),
canonicalizeReplace(replaceString, "Vencord.Plugins.plugins[\"FakeProfileThemesAndEffects\"]") canonicalizeReplace(replaceString, 'Vencord.Plugins.plugins["FakeProfileThemesAndEffects"]')
); );
if (beforeReplace === result) if (beforeReplace === result)
throw new Error("Replace had no effect: " + searchRegExp); throw new Error("Replace had no effect: " + searchRegExp);