(returnValue)
| 13120 | this.modulePath = target.readString(args[0]) ?? ""; |
| 13121 | }, |
| 13122 | onLeave(returnValue) { |
| 13123 | if (returnValue.isNull()) |
| 13124 | return; |
| 13125 | for (const moduleName of moduleNames) { |
| 13126 | if (!this.modulePath.endsWith(moduleName)) |
| 13127 | continue; |
| 13128 | setImmediate(() => interceptors.forEach(i => i.detach())); |
| 13129 | resolve(moduleName); |
| 13130 | } |
| 13131 | } |
| 13132 | })); |
| 13133 | }); |
| 13134 | } |