authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-05-06 02:44:23 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-05-06 02:44:23 -07:00
log0550a29db11770ee97e53b9edbceff5cacb739b0
treec102f19663c8cb51f728f382903f2233515fdb2d
parente22b1135ff2e4db95577773e3a3e96b8ed364904

cmd/zpm/add: remove `.git` from end of src path


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

src/cmd/zpm_add.zig+1-1
...@@ -61,7 +61,7 @@ pub fn execute(args: [][]u8) !void {...@@ -61,7 +61,7 @@ pub fn execute(args: [][]u8) !void {
6161
62 const file_w = file.writer();62 const file_w = file.writer();
63 try file_w.print("\n", .{});63 try file_w.print("\n", .{});
64 try file_w.print(" - src: git {s}\n", .{found.git});64 try file_w.print(" - src: git {s}\n", .{std.mem.trimRight(u8, found.git, ".git")});
65 try file_w.print(" name: {s}\n", .{found.name});65 try file_w.print(" name: {s}\n", .{found.name});
66 try file_w.print(" main: {s}\n", .{found.root_file.?[1..]});66 try file_w.print(" main: {s}\n", .{found.root_file.?[1..]});
6767