diff options
Diffstat (limited to 'src/Installation.zig')
| -rw-r--r-- | src/Installation.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Installation.zig b/src/Installation.zig index 4f7a48d..3ff65ea 100644 --- a/src/Installation.zig +++ b/src/Installation.zig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | const curl = @import("curl"); | 1 | const curl = @import("curl"); |
| 2 | const std = @import("std"); | 2 | const std = @import("std"); |
| 3 | const xdg = @import("xdg"); | 3 | const xdg = @import("xdg"); |
| 4 | const zup = @import("zup"); | 4 | const zup = @import("root"); |
| 5 | 5 | ||
| 6 | const Allocator = std.mem.Allocator; | 6 | const Allocator = std.mem.Allocator; |
| 7 | const Config = zup.Config; | 7 | const Config = zup.Config; |
| @@ -109,7 +109,7 @@ pub fn getInstalledList(allocator: Allocator) !Installations { | |||
| 109 | continue; | 109 | continue; |
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | const trimmed_ver_str = std.mem.trim(u8, res.stdout, &std.ascii.spaces); | 112 | const trimmed_ver_str = std.mem.trim(u8, res.stdout, &std.ascii.whitespace); |
| 113 | const version = try SemanticVersion.parse(trimmed_ver_str); | 113 | const version = try SemanticVersion.parse(trimmed_ver_str); |
| 114 | const name = try allocator.dupe(u8, item.name); | 114 | const name = try allocator.dupe(u8, item.name); |
| 115 | 115 | ||