authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-01-29 15:22:45 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-01-29 15:22:45 -08:00
log2e40025d65c61e17b7e9a4740ba7e93fdc9795f2
tree4b9a7d16d5376fdcc3d2c8c4d68873af0c5f1420
parentde489cfd32a2a9bb00a0937b94e260079f0e478f

make `.main` an optional property


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

src/util/modfile.zig+1-1
......@@ -32,7 +32,7 @@ pub const ModFile = struct {
3232
3333 const id = doc.mapping.get_string("id");
3434 const name = doc.mapping.get("name").?.string;
35 const main = doc.mapping.get("main").?.string;
35 const main = doc.mapping.get_string("main");
3636
3737 const dep_list = &std.ArrayList(u.Dep).init(alloc);
3838 if (doc.mapping.get("dependencies")) |dep_seq| {