Compare commits

...

2 Commits

Author SHA1 Message Date
Meghan Denny
b5fe3333fd Merge branch 'main' into nektro-patch-6 2024-04-30 18:17:29 -07:00
Meghan Denny
01c47139ad windows: fix flaky bunx test 2024-04-29 23:31:09 -07:00

View File

@@ -326,7 +326,8 @@ fn extract(this: *const ExtractTarball, tgz_bytes: []const u8) !Install.ExtractD
.err => |err| {
if (!did_retry) {
switch (err.getErrno()) {
.NOTEMPTY, .PERM, .BUSY, .EXIST => {
.NOTEMPTY => break,
.PERM, .BUSY, .EXIST => {
// before we attempt to delete the destination, let's close the source dir.
_ = bun.sys.close(dir_to_move);