authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-03-06 16:04:16 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-03-06 16:04:16 -08:00
log878428eddb7a5c0913d10e1673aa7ad05f981c63
treed58607692ec0807b8542c123a0f9fca98b79935e
parentbca4ce6fed89e3582916efc7560f5bceb350a561

cmd/aq/add- update to new aquila json api


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

src/cmd/aquila/add.zig+1-1
...@@ -21,7 +21,7 @@ pub fn do(dir: std.fs.Dir, pkg_id: string) !string {...@@ -21,7 +21,7 @@ pub fn do(dir: std.fs.Dir, pkg_id: string) !string {
2121
22 const pkg_url = try std.fmt.allocPrint(gpa, "https://{s}/{s}", .{22 const pkg_url = try std.fmt.allocPrint(gpa, "https://{s}/{s}", .{
23 val.getT(.{ "repo", "domain" }, .String).?,23 val.getT(.{ "repo", "domain" }, .String).?,
24 val.getT(.{ "pkg", "RemoteName" }, .String).?,24 val.getT(.{ "package", "remote_name" }, .String).?,
25 });25 });
2626
27 const m = try zigmod.ModFile.from_dir(gpa, dir);27 const m = try zigmod.ModFile.from_dir(gpa, dir);