From 033801fc212841bd29ee5c94051a9c462e79a4bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Isager=20Dalsgar=C3=B0?= Date: Mon, 4 Nov 2024 15:07:33 +0100 Subject: [PATCH] Correct bootstrap script offset --- src/runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime.c b/src/runtime.c index 3ce470d8..9cec89e0 100644 --- a/src/runtime.c +++ b/src/runtime.c @@ -1211,7 +1211,7 @@ bare_runtime_setup (uv_loop_t *loop, bare_process_t *process, bare_runtime_t *ru assert(err == 0); js_value_t *entry; - err = js_create_function_with_source(env, NULL, 0, "bare:/bare.js", -1, args, 2, 1, source, &entry); + err = js_create_function_with_source(env, NULL, 0, "bare:/bare.js", -1, args, 2, 0, source, &entry); assert(err == 0); args[0] = exports;