diff --git a/src/cmd_sum.zig b/src/cmd_sum.zig index 3b06fe0706ac9b545df02aa2033402a81f9fa2eb..7a8da597d9a4600026e7e7ee17abc9ba1defee5b 100644 --- a/src/cmd_sum.zig +++ b/src/cmd_sum.zig @@ -27,6 +27,7 @@ pub fn execute(args: [][]u8) !void { try dedupe_mod_list(module_list, top_module); for (module_list.items) |m| { + if (m.clean_path.len == 0) { continue; } const hash = try m.get_hash(dir); try w.print("{s} {s}\n", .{hash, m.clean_path}); }