mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
fix: do not inline process.env during bun run and bun test (#7614)
* env stuff * ok * undo * remove unused param * resolve review comment * dupe * it compiles now i promise
This commit is contained in:
@@ -79,7 +79,7 @@ pub const LoaderColonList = ColonListType(Api.Loader, Arguments.loader_resolver)
|
||||
pub const DefineColonList = ColonListType(string, Arguments.noop_resolver);
|
||||
fn invalidTarget(diag: *clap.Diagnostic, _target: []const u8) noreturn {
|
||||
@setCold(true);
|
||||
diag.name.long = "--target";
|
||||
diag.name.long = "target";
|
||||
diag.arg = _target;
|
||||
diag.report(Output.errorWriter(), error.InvalidTarget) catch {};
|
||||
std.process.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user