authorgravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-29 03:32:39 -08:00
committergravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-29 03:32:39 -08:00
loge5869c1ed3c5e22c888a1400b46460f30f83d6de
tree4183f78fd4835d341c266a3197a90a276da6f535
parentab3dba434722e6000b7dabd3265f50bfb2ebf1b7

fix deps folder path of common.collect_deps


1 files changed, 1 insertions(+), 1 deletions(-)

src/common.zig+1-1
...@@ -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;