diff options
author | 2022-01-27 01:20:42 -0800 | |
---|---|---|
committer | 2022-01-27 01:20:42 -0800 | |
commit | 9f5a1705a51b92cdeabce177dcef3a2459ef0c8a (patch) | |
tree | 36bda101900915abb33322a0b19cf282f0720ac9 | |
parent | b4c1cea7359557d7341a6eb7637d38a1dd84025d (diff) | |
download | bun-9f5a1705a51b92cdeabce177dcef3a2459ef0c8a.tar.gz bun-9f5a1705a51b92cdeabce177dcef3a2459ef0c8a.tar.zst bun-9f5a1705a51b92cdeabce177dcef3a2459ef0c8a.zip |
Don't look like a crash when CLI args are missing
-rw-r--r-- | src/report.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/report.zig b/src/report.zig index e0f8e7bf2..4cb7bb6c5 100644 --- a/src/report.zig +++ b/src/report.zig @@ -520,6 +520,9 @@ pub noinline fn globalError(err: anyerror) noreturn { Output.flush(); std.os.exit(1); }, + error.MissingValue => { + std.os.exit(1); + }, else => {}, } |