| ... | @@ -33,7 +33,10 @@ pub fn execute(args: [][]u8) !void { | ... | @@ -33,7 +33,10 @@ pub fn execute(args: [][]u8) !void { |
| 33 | const unspecified_list = &List.init(gpa); | 33 | const unspecified_list = &List.init(gpa); |
| 34 | | 34 | |
| 35 | for (master_list.items) |item| { | 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 | const license_code = item.yaml.?.get_string("license"); | 40 | const license_code = item.yaml.?.get_string("license"); |
| 38 | if (license_code.len == 0) { | 41 | if (license_code.len == 0) { |
| 39 | try unspecified_list.append(item); | 42 | try unspecified_list.append(item); |