diff --git a/src/Package/Fetch.zig b/src/Package/Fetch.zig index 6c5a930285..f6e5c2e222 100644 --- a/src/Package/Fetch.zig +++ b/src/Package/Fetch.zig @@ -1189,7 +1189,7 @@ fn unpackTarball(f: *Fetch, out_dir: fs.Dir, reader: anytype) RunError!UnpackRes .unable_to_create_file => |i| res.unableToCreateFile(stripRoot(i.file_name, res.root_dir), i.code), .unable_to_create_sym_link => |i| res.unableToCreateSymLink(stripRoot(i.file_name, res.root_dir), i.link_name, i.code), .unsupported_file_type => |i| res.unsupportedFileType(stripRoot(i.file_name, res.root_dir), @intFromEnum(i.file_type)), - .components_outside_stripped_prefix => {}, // impossible with strip_components = 0 + .components_outside_stripped_prefix => unreachable, // unreachable with strip_components = 0 } } }