authorgravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-17 23:15:11 -08:00
committergravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-17 23:15:11 -08:00
log01a1310788b56bb3cfd855fab9ea989d9c36ee3a
tree121a8118bf68c82746a0c65f84c72ea6ed86fd76
parent1788561fa7d3570b07e06b4cb52bacd2d5e120f6

fetch: move print statement up above all types


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

src/cmd_fetch.zig+1-1
......@@ -60,9 +60,9 @@ fn fetch_deps(dir: []const u8, mpath: []const u8) anyerror!u.Module {
6060 const moduledeps = &std.ArrayList(u.Module).init(gpa);
6161 for (m.deps) |d| {
6262 const p = try std.fmt.allocPrint(gpa, "{}{}{}", .{dir, "/", try d.clean_path()});
63 u.print("fetch: {}: {}: {}", .{m.name, @tagName(d.type), d.path});
6364 switch (d.type) {
6465 .git => {
65 u.print("fetch: {}: {}: {}", .{m.name, @tagName(d.type), d.path});
6666 if (!try u.does_file_exist(p)) {
6767 try run_cmd(null, &[_][]const u8{"git", "clone", d.path, p});
6868 }