diff --git a/src/Package/Fetch.zig b/src/Package/Fetch.zig index 6c5a930285d9bf0a5ed0d0a1cfab071835ab0456..f6e5c2e2223a4b1dc43c529dfa730d9a8fc526f2 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 } } }