| ... | @@ -70,10 +70,6 @@ fn fetch_deps(dir: []const u8, mpath: []const u8) anyerror!u.Module { | ... | @@ -70,10 +70,6 @@ fn fetch_deps(dir: []const u8, mpath: []const u8) anyerror!u.Module { |
| 70 | moddir = p; | 70 | moddir = p; |
| 71 | switch (d.type) { | 71 | switch (d.type) { |
| 72 | .git => blk: { | 72 | .git => blk: { |
| 73 | if (try u.does_file_exist(pv)) { | | |
| 74 | moddir = pv; | | |
| 75 | break :blk; | | |
| 76 | } | | |
| 77 | if (!try u.does_file_exist(p)) { | 73 | if (!try u.does_file_exist(p)) { |
| 78 | _ = try run_cmd(null, &[_][]const u8{"git", "clone", d.path, p}); | 74 | _ = try run_cmd(null, &[_][]const u8{"git", "clone", d.path, p}); |
| 79 | } | 75 | } |