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