Merge pull request #36 from vadi2/fix-ignore-filter
Fix validator's directory scanning ignore filter
This commit is contained in:
commit
a6b74a7be6
|
@ -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");
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue