refactor: use $& for whole match
Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
parent
baf7a5f58b
commit
28ba0c729d
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ addPatch({
|
||||||
find: "lastOutputSystemDevice.justChanged",
|
find: "lastOutputSystemDevice.justChanged",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(\i)\.default\.getState\(\).neverShowModal/,
|
match: /(\i)\.default\.getState\(\).neverShowModal/,
|
||||||
replace: "$1 || $self.shouldIgnore($2)"
|
replace: "$& || $self.shouldIgnore($1)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue