| author | |
| committer | |
| log | e200cf1b5505491274cbf12cdeb0478bf13f2370 |
| tree | c7ae248346c862497b211206c3bd678706727ffd |
| parent | da8c11912007e8d3612bd51d28f8d1a22346df88 |
1 files changed, 1 insertions(+), 0 deletions(-)
src/util/dep.zig+1| ... | ... | @@ -26,6 +26,7 @@ pub const Dep = struct { |
| 26 | 26 | var p = self.path; |
| 27 | 27 | p = u.trim_prefix(p, "http://"); |
| 28 | 28 | p = u.trim_prefix(p, "https://"); |
| 29 | p = u.trim_prefix(p, "git://"); | |
| 29 | 30 | p = u.trim_suffix(u8, p, ".git"); |
| 30 | 31 | p = try std.fmt.allocPrint(gpa, "{}{}{}", .{@tagName(self.type), "/", p}); |
| 31 | 32 | return p; |