-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle empty/windows paths correctly in base-path-aware path fixer
- the regular path fixer early-exits if the passed-in path is `""` - if the regular path fixer doesn't succeed, the base-aware path fixer retries with some prefixes (one of them being `./`) - the regular path fixer is retried with the passed-in path of `""`, so it does not early-exit - however, the next line strips `./` so the path is _turned into_ `""` - `os.path.relpath()` gets mad
- Loading branch information
1 parent
0026a62
commit 038ae62
Showing
2 changed files
with
44 additions
and
2 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