mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-12 18:46:22 +00:00
Use \i instead of .{1,2} to match identifiers
This commit is contained in:
parent
14512a50eb
commit
47c33696fc
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: "getSrc(){",
|
find: "getSrc(){",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(if\(null!=.{1,2}\))return .{1,2}\.default\.getURL\(.{1,2}\)/,
|
match: /(if\(null!=\i\))return \i\.default\.getURL\(\i\)/,
|
||||||
replace: "$1return null",
|
replace: "$1return null",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue