Skip to content

Commit

Permalink
(fix) interpreter: don't quit with arbitrary exit code on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
xTrayambak committed Dec 11, 2024
1 parent c00eee5 commit d22df6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bali/runtime/interpreter.nim
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ proc run*(runtime: Runtime) =
setDeathCallback(
proc(vm: PulsarInterpreter, exitCode: int) =
if vm.trace.exception.message.contains(runtime.test262.negative.`type`):
quit(44)
quit(1)
else:
quit(0)
)
Expand Down

0 comments on commit d22df6e

Please sign in to comment.