authorgravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-29 02:42:47 -08:00
committergravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-11-29 02:42:47 -08:00
logd01eb7141b96b190937d06cc617cd8fcf6eac06c
tree1868823d062d2c0c78c02833d2afd764f855d714
parent8276884ef2b1e1228903ebfa2904617f5f113d4e

fix assert in yaml parser


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

src/util/yaml.zig+1-1
......@@ -104,7 +104,7 @@ pub fn parse(alloc: *std.mem.Allocator, input: []const u8) !Document {
104104 l = all_events.items.len;
105105 }
106106
107 u.assert(all_events.items.len == 1, "failure parsing zig.mod. please report an issue at https://github.com/nektro/zigmod/issues/new that contains the text of your zig.mod.");
107 u.assert(all_events.items.len == 1, "failure parsing zig.mod. please report an issue at https://github.com/nektro/zigmod/issues/new that contains the text of your zig.mod.", .{});
108108 return all_events.items[0].document;
109109}
110110