authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-02-20 20:58:41 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-02-20 20:58:41 -08:00
loga3417656f02017e3210f20da0529879631505d41
tree830417f84f533aa8d093e07e273541c71a1ad82e
parent2419af380fbdfaf7f1e859da158adb09ed83e099

cmd/sum- dont hash self


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

src/cmd_sum.zig+1
......@@ -27,6 +27,7 @@ pub fn execute(args: [][]u8) !void {
2727 try dedupe_mod_list(module_list, top_module);
2828
2929 for (module_list.items) |m| {
30 if (m.clean_path.len == 0) { continue; }
3031 const hash = try m.get_hash(dir);
3132 try w.print("{s} {s}\n", .{hash, m.clean_path});
3233 }