diff options
| author | 2025-07-22 05:56:17 +0300 | |
|---|---|---|
| committer | 2025-07-22 05:56:17 +0300 | |
| commit | a43867dd7d02937a233a039eec7c7f43977b0b0c (patch) | |
| tree | 1fe7487f67df24ed4c42251da81f35320ed2b9fa /src/remove.zig | |
| parent | Update zig (diff) | |
| download | zup-a43867dd7d02937a233a039eec7c7f43977b0b0c.tar.gz zup-a43867dd7d02937a233a039eec7c7f43977b0b0c.tar.xz zup-a43867dd7d02937a233a039eec7c7f43977b0b0c.zip | |
Release 0.6.00.6.0
Diffstat (limited to 'src/remove.zig')
| -rw-r--r-- | src/remove.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remove.zig b/src/remove.zig index bc5b06a..fb53d06 100644 --- a/src/remove.zig +++ b/src/remove.zig | |||
| @@ -16,7 +16,7 @@ pub const max_args = 1; | |||
| 16 | pub fn main(comptime Result: type, config: Config, res: Result) !void { | 16 | pub fn main(comptime Result: type, config: Config, res: Result) !void { |
| 17 | const allocator = config.allocator; | 17 | const allocator = config.allocator; |
| 18 | 18 | ||
| 19 | const name = res.positionals[0]; | 19 | const name = res.positionals[0].?; |
| 20 | 20 | ||
| 21 | if (!try Installation.isInstalled(allocator, name)) { | 21 | if (!try Installation.isInstalled(allocator, name)) { |
| 22 | std.log.err("{s} is not installed!", .{name}); | 22 | std.log.err("{s} is not installed!", .{name}); |