Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup!
Browse files Browse the repository at this point in the history
saghul committed Nov 1, 2023
1 parent edf5c20 commit fd5173f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quickjs.c
Original file line number Diff line number Diff line change
@@ -28368,6 +28368,7 @@ static JSValue js_evaluate_module(JSContext *ctx, JSModuleDef *m)
return JS_EXCEPTION;

BOOL async = FALSE;
JSValue promise = JS_UNDEFINED;
for(i = 0; i < m->req_module_entries_count; i++) {
JSReqModuleEntry *rme = &m->req_module_entries[i];
m1 = rme->module;
@@ -28385,7 +28386,7 @@ static JSValue js_evaluate_module(JSContext *ctx, JSModuleDef *m)
}
}

JSValue promise = js_promise_all(ctx, ctx->promise_ctor, 1, &promises, 0);
promise = js_promise_all(ctx, ctx->promise_ctor, 1, &promises, 0);
if (JS_IsException(promise)) {
JS_FreeValue(ctx, (JSValue)promises);
return JS_EXCEPTION;

0 comments on commit fd5173f

Please sign in to comment.