This repository has been archived by the owner on Mar 16, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix scanning for dashed directories.
The FileScanner class wasn't properly scanning for files located in a directory that used dashes instead of underscores. This in turn would prevent ruby-lint from analysing itself due to the usage of lib/ruby-lint (instead of lib/ruby_lint). With this commit I've also taken the liberty of cleaning up the tests for FileScanner. These tests now test more specific parts instead of only testing the scan method.
- Loading branch information
Yorick Peterse
committed
Aug 6, 2014
1 parent
ccdf3fc
commit b8826f7
Showing
2 changed files
with
163 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters