mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 14:13:01 -04:00
fix canary
This commit is contained in:
parent
92ff9c1ca4
commit
e69575f273
1 changed files with 6 additions and 3 deletions
|
@ -412,9 +412,12 @@ function runFactoryWithWrap(patchedFactory: PatchedModuleFactory, thisArg: unkno
|
||||||
exports = module.exports;
|
exports = module.exports;
|
||||||
|
|
||||||
if (typeof require === "function" && require.c) {
|
if (typeof require === "function" && require.c) {
|
||||||
if (_blacklistBadModules(require.c, exports, module.id)) {
|
// module might not have been fully initialised yet
|
||||||
return factoryReturn;
|
try {
|
||||||
}
|
if (_blacklistBadModules(require.c, exports, module.id)) {
|
||||||
|
return factoryReturn;
|
||||||
|
}
|
||||||
|
} catch { }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (exports == null) {
|
if (exports == null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue