| ... | ... | @@ -32,8 +32,8 @@ pub fn collect_deps_deep(cachepath: []const u8, mpath: []const u8, options: *Col |
| 32 | 32 | try options.init(); |
| 33 | 33 | var moduledeps = std.ArrayList(u.Module).init(gpa); |
| 34 | 34 | defer moduledeps.deinit(); |
| 35 | | try std.fs.cwd().makePath(".zigmod/deps/files"); |
| 36 | 35 | if (m.root_files.len > 0) { |
| 36 | try std.fs.cwd().makePath(".zigmod/deps/files"); |
| 37 | 37 | try moduledeps.append(try add_files_package("root", m.root_files, m.name)); |
| 38 | 38 | } |
| 39 | 39 | try moduledeps.append(try collect_deps(cachepath, mpath, options)); |
| ... | ... | @@ -59,6 +59,7 @@ pub fn collect_deps(cachepath: []const u8, mpath: []const u8, options: *CollectO |
| 59 | 59 | var moduledeps = std.ArrayList(u.Module).init(gpa); |
| 60 | 60 | defer moduledeps.deinit(); |
| 61 | 61 | if (m.files.len > 0) { |
| 62 | try std.fs.cwd().makePath(".zigmod/deps/files"); |
| 62 | 63 | try moduledeps.append(try add_files_package(m.id, m.files, m.name)); |
| 63 | 64 | } |
| 64 | 65 | for (m.deps) |*d| { |