diff --git a/rewrite-xml/src/main/java/org/openrewrite/xml/XmlParser.java b/rewrite-xml/src/main/java/org/openrewrite/xml/XmlParser.java index 70a3d476db7..fd107e5c7f9 100755 --- a/rewrite-xml/src/main/java/org/openrewrite/xml/XmlParser.java +++ b/rewrite-xml/src/main/java/org/openrewrite/xml/XmlParser.java @@ -99,7 +99,7 @@ public boolean accept(Path path) { p.endsWith(".pst") || // C# project files p.endsWith(".csproj") || - p.equals("packages.config"); + path.endsWith("packages.config"); } @Override