| author | |
| committer | |
| log | 2405f3305f050b63a3a11fb2dcf31b005b67d85e |
| tree | 521b579f385fd654df64f7013bd36bff129febb1 |
| parent | 6b05885c0f4c10e3a6fed3c62fe3c264e0b1e30c |
1 files changed, 4 insertions(+), 1 deletions(-)
src/cmd/license.zig+4-1| ... | ... | @@ -33,7 +33,10 @@ pub fn execute(args: [][]u8) !void { |
| 33 | 33 | const unspecified_list = &List.init(gpa); |
| 34 | 34 | |
| 35 | 35 | for (master_list.items) |item| { |
| 36 | if (item.yaml == null) continue; | |
| 36 | if (item.yaml == null) { | |
| 37 | try unspecified_list.append(item); | |
| 38 | continue; | |
| 39 | } | |
| 37 | 40 | const license_code = item.yaml.?.get_string("license"); |
| 38 | 41 | if (license_code.len == 0) { |
| 39 | 42 | try unspecified_list.append(item); |