-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transform patterns from relative form even if are not valid in FS
The logic to process patterns to determine include paths is separated from the logic to process patterns that remain as globs. patterns that remain as globs are transformed from relative form to absolute form and keeping the suffix, these don't need to be validated against the file sytem. include patters that become include paths need to be validated against the file system. Additionally when resolving include paths, don't transform include patterns not given in relative form to absolute form, so the search can be broad and only become specfic when in relative form. Signed-off-by: Alvaro Sanchez-Leon <[email protected]>
- Loading branch information
Showing
2 changed files
with
108 additions
and
56 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