Merge pull request #36 from vadi2/fix-ignore-filter

Fix validator's directory scanning ignore filter
This commit is contained in:
Grahame Grieve 2019-06-02 17:13:21 +10:00 committed by GitHub
commit a6b74a7be6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ public class ValidationEngine {
private boolean isIgnoreFile(File ff) {
return Utilities.existsInList(ff.getName(), ".DS_Store") || Utilities.existsInList(Utilities.getFileExtension(ff.getName()), ".md", ".css", ".js", ".png", ".gif", ".jpg", ".html", ".tgz", ".pack", ".zip");
return Utilities.existsInList(ff.getName(), ".DS_Store") || Utilities.existsInList(Utilities.getFileExtension(ff.getName()).toLowerCase(), "md", "css", "js", "png", "gif", "jpg", "html", "tgz", "pack", "zip");
}