Skip to content

Commit

Permalink
this path is actually relative
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro committed Sep 3, 2024
1 parent 9ec7c75 commit 6ce5bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.zig
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ pub fn get_modpath(cachepath: string, d: zigmod.Dep, options: *CollectOptions) !
}
const file_path = try std.fs.path.resolve(options.alloc, &.{ p, file_name });
try d.type.pull(options.alloc, d.path, p);
try std.fs.deleteFileAbsolute(file_path);
try std.fs.cwd().deleteFile(file_path);
return p;
},
}
Expand Down

0 comments on commit 6ce5bff

Please sign in to comment.