authorgravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-29 16:38:40 -08:00
committergravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-29 16:38:40 -08:00
log273baa521055c2294e6dd374316166aa923c75af
tree4bae43de28f25b8708a4f4d9d1ca59948823fecc
parent7a2ee7e11cbe1b982d5a9f916d3da50619ae68bb

remove unreachable else prong in dep type


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

src/util/dep_type.zig-6
......@@ -15,9 +15,6 @@ pub const DepType = enum {
1515 _ = try u.run_cmd(null, &[_][]const u8{"git", "clone", rpath, dpath});
1616 },
1717 .hg => { _ = try u.run_cmd(null, &[_][]const u8{"hg", "clone", rpath, dpath}); },
18 else => {
19 u.assert(false, "dep type {} not configured for pull: {}", .{@tagName(self), rpath});
20 },
2118 }
2219 }
2320
......@@ -29,9 +26,6 @@ pub const DepType = enum {
2926 _ = try u.run_cmd(dpath, &[_][]const u8{"git", "pull"});
3027 },
3128 .hg => { _ = try u.run_cmd(dpath, &[_][]const u8{"hg", "pull"}); },
32 else => {
33 u.assert(false, "dep type {} not configured for update: {}", .{@tagName(self), rpath});
34 },
3529 }
3630 }
3731};