This repository has been archived by the owner on Mar 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't glob when no directories are specified.
Before this commit when no directories were specified for the FileScanner class (or no existing ones) the code would end up globbing for /**/*.rb. That is, it would search for all Ruby source files starting in the root directory of your disk. Yikes. This commit fixes this by simply not globbing at all if the list of directories is empty. See #83 and #84 for more information.
- Loading branch information
Yorick Peterse
committed
Dec 23, 2013
1 parent
64cd717
commit d8b734a
Showing
2 changed files
with
16 additions
and
3 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