| ... | @@ -28,7 +28,7 @@ pub const Dep = struct { | ... | @@ -28,7 +28,7 @@ pub const Dep = struct { |
| 28 | p = u.trim_prefix(p, "https://"); | 28 | p = u.trim_prefix(p, "https://"); |
| 29 | p = u.trim_prefix(p, "git://"); | 29 | p = u.trim_prefix(p, "git://"); |
| 30 | p = u.trim_suffix(u8, p, ".git"); | 30 | p = u.trim_suffix(u8, p, ".git"); |
| 31 | p = try std.fmt.allocPrint(gpa, "{}{}{}", .{@tagName(self.type), "/", p}); | 31 | p = try std.fs.path.join(gpa, &[_][]const u8{@tagName(self.type), p}); |
| 32 | return p; | 32 | return p; |
| 33 | } | 33 | } |
| 34 | | 34 | |