| author | |
| committer | |
| log | 6e448cad10c23b4681b132a5ef96ed82adf11873 |
| tree | 1cf37de1449bc19b26104b654f65dee8d7a53049 |
| parent | b9c825d2e3f09d4aa99ee80e4c898cd062c20dfc |
2 files changed, 2 insertions(+), 2 deletions(-)
src/cmd/fetch.zig+1-1| ... | ... | @@ -138,7 +138,7 @@ fn print_paths(w: std.fs.File.Writer, list: []u.Module) !void { |
| 138 | 138 | } |
| 139 | 139 | } |
| 140 | 140 | |
| 141 | fn print_deps(w: std.fs.File.Writer, dir: []const u8, m: u.Module, tabs: i32, array: bool) anyerror!void { | |
| 141 | fn print_deps(w: std.fs.File.Writer, dir: []const u8, m: u.Module, tabs: i32, array: bool) !void { | |
| 142 | 142 | if (m.has_no_zig_deps() and tabs > 0) { |
| 143 | 143 | try w.print("null", .{}); |
| 144 | 144 | return; |
src/util/modfile.zig+1-1| ... | ... | @@ -34,7 +34,7 @@ pub const ModFile = struct { |
| 34 | 34 | return from_mapping(alloc, doc.mapping); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | pub fn from_mapping(alloc: *std.mem.Allocator, mapping: yaml.Mapping) anyerror!Self { | |
| 37 | pub fn from_mapping(alloc: *std.mem.Allocator, mapping: yaml.Mapping) !Self { | |
| 38 | 38 | const id = mapping.get_string("id"); |
| 39 | 39 | const name = mapping.get("name").?.string; |
| 40 | 40 | const main = mapping.get_string("main"); |