regression with path traversals in 21.5b2 #2389
Labels
C: crash
Black is crashing
C: file collection
Related to file collection (e.g. gitignore & cache) or file discovery and all of its configuration.
C: packaging
Installation and packaging of Black
R: outdated
Resolved or not relevant anymore.
T: bug
Something isn't working
Describe the bug
It looks like this was introduced with b8450b9#diff-1a5882c84fe4b3f18199a3e021822c1ea4bdc3f86952ea450c4db15d9387c7c3L215
To Reproduce
black_test
that has a filefoo.py
and an empty folderbar
black C:/temp/black_test
Expected behavior
This works with
black 21.5b1
Environment (please complete the following information):
Does this bug also happen on main?
Haven't tested main yet, but it's also present on 21.7b0
Additional context
The text was updated successfully, but these errors were encountered: