| ... | @@ -202,7 +202,7 @@ pub fn get_modpath(cachepath: string, d: zigmod.Dep, options: *CollectOptions) ! | ... | @@ -202,7 +202,7 @@ pub fn get_modpath(cachepath: string, d: zigmod.Dep, options: *CollectOptions) ! |
| 202 | } | 202 | } |
| 203 | const file_path = try std.fs.path.resolve(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.cwd().deleteFile(file_path); |
| 206 | return p; | 206 | return p; |
| 207 | }, | 207 | }, |
| 208 | } | 208 | } |