@zenfs/core 1.6.11 → 1.6.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mixins/async.js +1 -1
- package/package.json +1 -1
package/dist/mixins/async.js
CHANGED
|
@@ -245,7 +245,7 @@ export function Async(FS) {
|
|
|
245
245
|
this[key] = async (...args) => {
|
|
246
246
|
var _a, _b;
|
|
247
247
|
const result = await originalMethod.apply(this, args);
|
|
248
|
-
if (new Error().stack.includes(`at async ${this.constructor.name}._next`))
|
|
248
|
+
if (new Error().stack.includes(`at async ${this.constructor.name}._next`) || !this._isInitialized)
|
|
249
249
|
return result;
|
|
250
250
|
try {
|
|
251
251
|
// @ts-expect-error 2556
|