Skip to content

Commit 43d7fdb

Browse files
committed
fix build
1 parent f98a886 commit 43d7fdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Package/Unpack.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ pub const Errors = struct {
5757
fn createFile(self: *Errors, subdir_path: []const u8, file_path: []const u8, err: anyerror) !void {
5858
try self.list.append(self.allocator, .{ .unable_to_create_file = .{
5959
.code = err,
60-
.file_name = try std.fs.path.join(testing.allocator, &.{ subdir_path, file_path }),
60+
.file_name = try std.fs.path.join(self.allocator, &.{ subdir_path, file_path }),
6161
} });
6262
}
6363

6464
fn symLink(self: *Errors, subdir_path: []const u8, target_path: []const u8, sym_link_path: []const u8, err: anyerror) !void {
6565
try self.list.append(self.allocator, .{ .unable_to_create_sym_link = .{
6666
.code = err,
6767
.target_path = try self.allocator.dupe(u8, target_path),
68-
.sym_link_path = try std.fs.path.join(testing.allocator, &.{ subdir_path, sym_link_path }),
68+
.sym_link_path = try std.fs.path.join(self.allocator, &.{ subdir_path, sym_link_path }),
6969
} });
7070
}
7171

0 commit comments

Comments
 (0)