diff --git a/rewrite-toml/src/main/java/org/openrewrite/toml/TomlParser.java b/rewrite-toml/src/main/java/org/openrewrite/toml/TomlParser.java index 37b2ac6f826..9ce1afacb39 100644 --- a/rewrite-toml/src/main/java/org/openrewrite/toml/TomlParser.java +++ b/rewrite-toml/src/main/java/org/openrewrite/toml/TomlParser.java @@ -69,7 +69,7 @@ public Stream parse(@Language("toml") String... sources) { @Override public boolean accept(Path path) { - return path.toString().endsWith(".toml"); + return path.toString().endsWith(".toml") || path.endsWith(".xmake.cfg"); } @Override