Skip to content

Commit

Permalink
Correct bootstrap script offset
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Nov 4, 2024
1 parent 6851900 commit 033801f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 033801f

Please sign in to comment.