mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
Fix handling of --save-exact=name in fetch
This commit is contained in:
parent
ee6a52b40f
commit
fba618a6c9
@ -6921,7 +6921,7 @@ fn cmdFetch(
|
||||
} else if (mem.eql(u8, arg, "--save-exact")) {
|
||||
save = .{ .exact = null };
|
||||
} else if (mem.startsWith(u8, arg, "--save-exact=")) {
|
||||
save = .{ .exact = arg["--save=".len..] };
|
||||
save = .{ .exact = arg["--save-exact=".len..] };
|
||||
} else {
|
||||
fatal("unrecognized parameter: '{s}'", .{arg});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user