From 2c5e1cb7d76404dc56b2511c8eac41856c99b169 Mon Sep 17 00:00:00 2001 From: Jarred SUmner Date: Thu, 29 Dec 2022 21:46:32 -0800 Subject: Fix broken hardlink installs --- src/install/install.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/install/install.zig b/src/install/install.zig index 24512dff9..186d287e1 100644 --- a/src/install/install.zig +++ b/src/install/install.zig @@ -1121,7 +1121,7 @@ const PackageInstall = struct { } }; - var subdir = bun.openDir(this.destination_dir.dir, this.destination_dir_subpath) catch |err| return Result{ + var subdir = this.destination_dir.dir.makeOpenPathIterable(std.mem.span(this.destination_dir_subpath), .{}) catch |err| return Result{ .fail = .{ .err = err, .step = .opening_cache_dir }, }; -- cgit v1.2.3