| ... | @@ -11,7 +11,7 @@ pub fn collect_deps(dir: []const u8, mpath: []const u8) anyerror!u.Module { | ... | @@ -11,7 +11,7 @@ pub fn collect_deps(dir: []const u8, mpath: []const u8) anyerror!u.Module { |
| 11 | const moduledeps = &std.ArrayList(u.Module).init(gpa); | 11 | const moduledeps = &std.ArrayList(u.Module).init(gpa); |
| 12 | var moddir: []const u8 = undefined; | 12 | var moddir: []const u8 = undefined; |
| 13 | for (m.deps) |d| { | 13 | for (m.deps) |d| { |
| 14 | const p = try u.concat(&[_][]const u8{dir, "/deps/", try d.clean_path()}); | 14 | const p = try u.concat(&[_][]const u8{dir, "/", try d.clean_path()}); |
| 15 | const pv = try u.concat(&[_][]const u8{dir, "/v/", try d.clean_path(), "/", d.version}); | 15 | const pv = try u.concat(&[_][]const u8{dir, "/v/", try d.clean_path(), "/", d.version}); |
| 16 | if (try u.does_file_exist(pv)) { | 16 | if (try u.does_file_exist(pv)) { |
| 17 | moddir = pv; | 17 | moddir = pv; |