authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-03-19 00:22:13 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-03-19 00:22:13 -07:00
log1ff771e82c1aad0bbf441961410b71f0c19d6ab0
tree1eeb99037ea6bb465592065935bef3f7ba6c4e7e
parent654cd593338a0f3796b97239f3479cdddd9be03d

cmd/license: only print unspecified list if there's items in it


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

src/cmd/license.zig+1-1
...@@ -64,7 +64,7 @@ pub fn execute(args: [][]u8) !void {...@@ -64,7 +64,7 @@ pub fn execute(args: [][]u8) !void {
64 }64 }
65 std.debug.print("\n", .{});65 std.debug.print("\n", .{});
66 }66 }
67 {67 if (unspecified_list.items.len > 0) {
68 std.debug.print(style.Bold ++ "Unspecified:\n", .{});68 std.debug.print(style.Bold ++ "Unspecified:\n", .{});
69 std.debug.print(style.ResetIntensity, .{});69 std.debug.print(style.ResetIntensity, .{});
70 for (unspecified_list.items) |item| {70 for (unspecified_list.items) |item| {