Skip to content

Commit

Permalink
fix one of the failure checks in expectBundled.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro authored Oct 17, 2024
1 parent 850cdb0 commit c622cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/bundler/expectBundled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ for (const [key, blob] of build.outputs) {
}
}
} else if (!success) {
if (run.exitCode) {
if (run.exitCode != null) {
expect([exitCode, signalCode]).toEqual([run.exitCode, undefined]);
} else {
throw new Error(prefix + "Runtime failed\n" + stdout!.toUnixString() + "\n" + stderr!.toUnixString());
Expand Down

0 comments on commit c622cc5

Please sign in to comment.