mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 12:51:54 +00:00
fix(windows): fix macros (#8653)
* fix macro tests * path format options * remove failing comment * fix buffer toString memcpy length
This commit is contained in:
@@ -493,7 +493,7 @@ pub const CreateCommand = struct {
|
||||
|
||||
progress_.refresh();
|
||||
|
||||
Output.prettyError("<r><red>{s}<r>: copying file {}", .{ @errorName(err), bun.fmt.fmtOSPath(entry.path) });
|
||||
Output.prettyError("<r><red>{s}<r>: copying file {}", .{ @errorName(err), bun.fmt.fmtOSPath(entry.path, .{}) });
|
||||
Global.exit(1);
|
||||
};
|
||||
};
|
||||
@@ -513,7 +513,7 @@ pub const CreateCommand = struct {
|
||||
}
|
||||
|
||||
CopyFile.copyFile(infile.handle, outfile.handle) catch |err| {
|
||||
Output.prettyError("<r><red>{s}<r>: copying file {}", .{ @errorName(err), bun.fmt.fmtOSPath(entry.path) });
|
||||
Output.prettyError("<r><red>{s}<r>: copying file {}", .{ @errorName(err), bun.fmt.fmtOSPath(entry.path, .{}) });
|
||||
Global.exit(1);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user