mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 12:29:07 +00:00
fix(install): incremental support for windows (#7991)
* update for windows * use correct sizes * mode * fchmod and correct error checking * some progress * walker_skippable.zig for windows * no segfault * comptime only * normalize * create files in .bin * bun.sys.write * string formatters in bun.fmt, diriterator enum * isAllASCII comptime * update more * some cleanup * fix 1 * fix 2 * simlink * cast * remove normalize * to zig err * update fchmod * fixup * fix running bin files * --bun for running binaries * --bun for scripts * remove binary linking * update * remove todo * todos * fix * simlink * cast * more cast
This commit is contained in:
@@ -315,6 +315,7 @@ pub const RunCommand = struct {
|
||||
}
|
||||
|
||||
var child_process = std.ChildProcess.init(&argv, allocator);
|
||||
|
||||
var buf_map = try env.map.cloneToEnvMap(allocator);
|
||||
|
||||
child_process.env_map = &buf_map;
|
||||
@@ -581,7 +582,7 @@ pub const RunCommand = struct {
|
||||
} else {
|
||||
ctx.log.printForLogLevelWithEnableAnsiColors(Output.errorWriter(), false) catch {};
|
||||
}
|
||||
Output.prettyErrorln("<r><red>error<r><d>:<r> <b>{s}<r> loading directory {}", .{ @errorName(err), strings.QuotedFormatter{ .text = this_bundler.fs.top_level_dir } });
|
||||
Output.prettyErrorln("<r><red>error<r><d>:<r> <b>{s}<r> loading directory {}", .{ @errorName(err), bun.fmt.QuotedFormatter{ .text = this_bundler.fs.top_level_dir } });
|
||||
Output.flush();
|
||||
return err;
|
||||
} orelse {
|
||||
|
||||
Reference in New Issue
Block a user