-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename regexp variables in findMatchingFiles.js
There was some confusion around these variables, so I made it clearer what is a compiled regexp and what is just a string pattern. Before making the rename, I went down the path of switching to passing in a compiled RegExp to all places. But I couldn't get the `egrep` call inside `findMatchingFilesWithFind` to work with the `toString()` output of RegExp. So I decided to keep the string throughout all finders (so that it's consistent).
- Loading branch information
Showing
1 changed file
with
12 additions
and
11 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