Compare commits

...

1 Commits

Author SHA1 Message Date
Meghan Denny
c622cc5410 fix one of the failure checks in expectBundled.ts 2024-10-17 16:56:36 -07:00

View File

@@ -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());