-
Notifications
You must be signed in to change notification settings - Fork 790
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PathUtils: *always* prefer longer to shorter extension match
The older logic would *usually* prefer a longer to a shorter extension match, but not in the case with a three-or-more-component extension when one of the intermediate extensions wasn't recognized, e.g. ".coffee" would be preferred over ".js.jsx.coffee" unless ".jsx.coffee" was also a recognized extension. (".js.jsx.coffee" is the preferred Coffee+React extension with the react-rails gem)
- Loading branch information
Showing
2 changed files
with
14 additions
and
8 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