| author | |
| committer | |
| log | e3bc7fc544599b66c05313e69ca5df83dd98d7af |
| tree | c7cca9e9e3a80ee734f623b38add932188d40d61 |
| parent | 1995ca2face963c0bc23cf2dfb7f1e8db1b26c9c |
1 files changed, 2 insertions(+), 0 deletions(-)
src/common.zig+2| ... | ... | @@ -61,6 +61,8 @@ pub fn collect_deps_deep(cachepath: string, mdir: std.fs.Dir, options: *CollectO |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | pub fn collect_deps(cachepath: string, mdir: std.fs.Dir, options: *CollectOptions) anyerror!zigmod.Module { |
| 64 | try std.fs.cwd().makePath(cachepath); | |
| 65 | ||
| 64 | 66 | const m = try zigmod.ModFile.from_dir(options.alloc, mdir); |
| 65 | 67 | var moduledeps = std.ArrayList(zigmod.Module).init(options.alloc); |
| 66 | 68 | defer moduledeps.deinit(); |