diff options
| author | 2023-07-04 02:37:19 +0300 | |
|---|---|---|
| committer | 2023-07-04 02:37:19 +0300 | |
| commit | 99739da0169db308ecad28d99838a0f4574ae792 (patch) | |
| tree | e32aa2e91cb13be8c63ea68c53dc645c923971f9 /src/switch.zig | |
| parent | Update for latest zig (diff) | |
| download | zup-99739da0169db308ecad28d99838a0f4574ae792.tar.gz zup-99739da0169db308ecad28d99838a0f4574ae792.tar.xz zup-99739da0169db308ecad28d99838a0f4574ae792.zip | |
Update for newest zig
Diffstat (limited to 'src/switch.zig')
| -rw-r--r-- | src/switch.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/switch.zig b/src/switch.zig index f90f7d7..3323332 100644 --- a/src/switch.zig +++ b/src/switch.zig | |||
| @@ -12,7 +12,7 @@ pub const max_args = 1; | |||
| 12 | 12 | ||
| 13 | pub fn main(comptime Result: type, config: Config, res: Result) !void { | 13 | pub fn main(comptime Result: type, config: Config, res: Result) !void { |
| 14 | const allocator = config.allocator; | 14 | const allocator = config.allocator; |
| 15 | 15 | ||
| 16 | const name = res.positionals[0]; | 16 | const name = res.positionals[0]; |
| 17 | if (!try Installation.isInstalled(allocator, name)) { | 17 | if (!try Installation.isInstalled(allocator, name)) { |
| 18 | std.log.err( | 18 | std.log.err( |