diff --git a/src/Package/Fetch.zig b/src/Package/Fetch.zig index 44cab31114..5d315ffed4 100644 --- a/src/Package/Fetch.zig +++ b/src/Package/Fetch.zig @@ -1507,6 +1507,7 @@ const Filter = struct { pub fn includePath(self: Filter, sub_path: []const u8) bool { if (self.include_paths.count() == 0) return true; if (self.include_paths.contains("")) return true; + if (self.include_paths.contains(".")) return true; if (self.include_paths.contains(sub_path)) return true; // Check if any included paths are parent directories of sub_path. @@ -1571,4 +1572,5 @@ const ErrorBundle = std.zig.ErrorBundle; test { _ = Filter; + _ = FileType; }