Skip to content

Commit

Permalink
Restore curly brace in PathUtils#matchesGlob (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored Mar 3, 2024
1 parent 194eaf0 commit fa5d97a
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@ public String getDescription() {

@Override
public TreeVisitor<?, ExecutionContext> getVisitor() {
return Preconditions.check(Preconditions.or(
new FindSourceFiles("**/application*.yml").getVisitor(),
new FindSourceFiles("**/application*.yaml").getVisitor()),
return Preconditions.check(
new FindSourceFiles("**/application*.{yml,yaml}").getVisitor(),
new YamlIsoVisitor<ExecutionContext>() {
@Override
public Yaml.Mapping.Entry visitMappingEntry(Yaml.Mapping.Entry entry, ExecutionContext ctx) {
Expand Down

0 comments on commit fa5d97a

Please sign in to comment.