authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-06-24 15:41:29 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-06-24 15:41:29 -07:00
logb46cdbf797afba04946f05292809832e73834a6c
treeb5bab7ad27f3d323bfb58de1fee794817bab74f4
parentba84a39193b88ab27cf6bf948244bfedcebfde4f

cmd/zpm: new json api update


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

src/cmd/zpm.zig+1-1
......@@ -70,7 +70,7 @@ pub fn server_fetchArray(url: string) ![]const Package {
7070 errdefer list.deinit();
7171
7272 for (val.root.array.items) |item| {
73 if (item.object.get("root_file") == null) continue;
73 if (item.object.get("root_file").? == .null) continue;
7474 try list.append(Package{
7575 .name = item.object.get("name").?.string,
7676 .author = item.object.get("author").?.string,