[skip ci] WebContextMenus: fix false ci test positives
This commit is contained in:
parent
7b13b9a53e
commit
e7d0fc258d
|
@ -121,7 +121,7 @@ export default definePlugin({
|
||||||
predicate: () => settings.store.addBack,
|
predicate: () => settings.store.addBack,
|
||||||
replacement: {
|
replacement: {
|
||||||
// return IS_DESKTOP ? React.createElement(Menu, ...)
|
// return IS_DESKTOP ? React.createElement(Menu, ...)
|
||||||
match: /return \i\.\i\?(?=\(0,\i\.jsxs?\)\(\i\.Menu)/,
|
match: /return \i\.\i\?/,
|
||||||
replace: "return true?"
|
replace: "return true?"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -146,7 +146,7 @@ export default definePlugin({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: 'navId:"textarea-context"',
|
find: ':"command-suggestions"',
|
||||||
predicate: () => settings.store.addBack,
|
predicate: () => settings.store.addBack,
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue