mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Fix crash that wasn't a crash
This commit is contained in:
@@ -6297,10 +6297,9 @@ pub const PackageManager = struct {
|
||||
\\
|
||||
\\<r><b>Examples:<r>
|
||||
\\
|
||||
\\ bun add -g {s}
|
||||
\\ bun add {s}
|
||||
\\ bun add {s}
|
||||
\\ bun add {s}
|
||||
\\ bun add -g git-peek
|
||||
\\
|
||||
, .{ examples_to_print[0], examples_to_print[1], examples_to_print[2] });
|
||||
|
||||
|
||||
@@ -320,7 +320,7 @@ pub noinline fn globalError(err: anyerror) noreturn {
|
||||
Output.flush();
|
||||
Global.exit(1);
|
||||
},
|
||||
error.InstallFailed => {
|
||||
error.InvalidArgument, error.InstallFailed => {
|
||||
Global.exit(1);
|
||||
},
|
||||
error.SystemFdQuotaExceeded => {
|
||||
|
||||
Reference in New Issue
Block a user