Skip to content

Commit

Permalink
Merge pull request #12 from Dxree/master
Browse files Browse the repository at this point in the history
Fixes bug with directories as cup definition path
  • Loading branch information
vbmacher committed May 27, 2021
2 parents 0b5b61a + 9cb5a1c commit 25e343b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -49,7 +49,7 @@ private static class CupFileFilter implements DirectoryStream.Filter<Path> {
@Override
public boolean accept(Path entry) throws IOException {
File file = entry.toFile();
return file.isFile() && file.getName().toUpperCase().endsWith(".cup");
return file.isFile() && file.getName().toLowerCase().endsWith(".cup");
}
}

Expand Down

0 comments on commit 25e343b

Please sign in to comment.