| ... | ... | @@ -26,12 +26,12 @@ pub const Module = struct { |
| 26 | 26 | clean_path: string, |
| 27 | 27 | dep: ?zigmod.Dep, |
| 28 | 28 | |
| 29 | | pub fn from(alloc: *std.mem.Allocator, dep: zigmod.Dep, dir: string, options: *common.CollectOptions) !Module { |
| 29 | pub fn from(alloc: *std.mem.Allocator, dep: zigmod.Dep, modpath: string, options: *common.CollectOptions) !Module { |
| 30 | 30 | var moddeps = std.ArrayList(Module).init(alloc); |
| 31 | 31 | defer moddeps.deinit(); |
| 32 | 32 | |
| 33 | 33 | for (dep.deps) |*d| { |
| 34 | | if (try common.get_module_from_dep(d, dir, options)) |founddep| { |
| 34 | if (try common.get_module_from_dep(d, modpath, options)) |founddep| { |
| 35 | 35 | try moddeps.append(founddep); |
| 36 | 36 | } |
| 37 | 37 | } |