| ... | @@ -200,7 +200,7 @@ pub fn get_modpath(cachepath: string, d: zigmod.Dep, options: *CollectOptions) ! | ... | @@ -200,7 +200,7 @@ pub fn get_modpath(cachepath: string, d: zigmod.Dep, options: *CollectOptions) ! |
| 200 | if (try u.does_folder_exist(p)) { | 200 | if (try u.does_folder_exist(p)) { |
| 201 | try std.fs.cwd().deleteTree(p); | 201 | try std.fs.cwd().deleteTree(p); |
| 202 | } | 202 | } |
| 203 | const file_path = try std.fs.path.join(options.alloc, &.{ p, file_name }); | 203 | const file_path = try std.fs.path.resolve(options.alloc, &.{ p, file_name }); |
| 204 | try d.type.pull(options.alloc, d.path, p); | 204 | try d.type.pull(options.alloc, d.path, p); |
| 205 | try std.fs.deleteFileAbsolute(file_path); | 205 | try std.fs.deleteFileAbsolute(file_path); |
| 206 | return p; | 206 | return p; |