mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-18 02:47:03 -04:00
Fix ConsoleJan
This commit is contained in:
parent
e1e49248fe
commit
75f56263ed
1 changed files with 4 additions and 4 deletions
|
@ -148,15 +148,15 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: "is not a valid locale.",
|
find: "is not a valid locale.",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /\i\.error\(""\.concat\(\i," is not a valid locale."\)\)/,
|
match: /\i\.error(?=\(""\.concat\(\i," is not a valid locale."\)\))/,
|
||||||
replace: '""'
|
replace: "$self.NoopLogger"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: '"AppCrashedFatalReport: getLastCrash not supported."',
|
find: '"AppCrashedFatalReport: getLastCrash not supported."',
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /console\.log\("AppCrashedFatalReport: getLastCrash not supported\."\)/,
|
match: /console\.log(?=\("AppCrashedFatalReport: getLastCrash not supported\."\))/,
|
||||||
replace: '""'
|
replace: "$self.NoopLogger"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue