mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 14:43:03 -04:00
Merge remote-tracking branch 'upstream/dev' into dev
This commit is contained in:
commit
dd272a6271
1 changed files with 4 additions and 3 deletions
|
@ -418,9 +418,6 @@ function runFactoryWithWrap(patchedFactory: PatchedModuleFactory, thisArg: unkno
|
||||||
}
|
}
|
||||||
|
|
||||||
exports = module.exports;
|
exports = module.exports;
|
||||||
if (exports == null) {
|
|
||||||
return factoryReturn;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (typeof require === "function" && require.c) {
|
if (typeof require === "function" && require.c) {
|
||||||
if (_blacklistBadModules(require.c, exports, module.id)) {
|
if (_blacklistBadModules(require.c, exports, module.id)) {
|
||||||
|
@ -428,6 +425,10 @@ function runFactoryWithWrap(patchedFactory: PatchedModuleFactory, thisArg: unkno
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (exports == null) {
|
||||||
|
return factoryReturn;
|
||||||
|
}
|
||||||
|
|
||||||
for (const callback of moduleListeners) {
|
for (const callback of moduleListeners) {
|
||||||
try {
|
try {
|
||||||
callback(exports, module.id);
|
callback(exports, module.id);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue