| author | |
| committer | |
| log | c465724e52eb9e3b61637d6eba2119e3c8f42025 |
| tree | caedf79f1b6d3d9e5ca2eb39e2a2b6a11da309dd |
| parent | fd01da118ba52286a4775b6f0b2cad5445a56ba9 |
1 files changed, 1 insertions(+), 0 deletions(-)
src/common.zig+1| ... | ... | @@ -210,6 +210,7 @@ pub fn get_module_from_dep(d: *zigmod.Dep, cachepath: string, options: *CollectO |
| 210 | 210 | } |
| 211 | 211 | } |
| 212 | 212 | } |
| 213 | if (!d.is_for_this()) return null; | |
| 213 | 214 | const modpath = try get_modpath(cachepath, d.*, options); |
| 214 | 215 | const moddir = if (std.mem.eql(u8, modpath, "files") or modpath.len == 0) try std.fs.cwd().openDir(cachepath, .{}) else try std.fs.cwd().openDir(modpath, .{}); |
| 215 | 216 |