Skip to content

Removes Automatic Multi-Separator Clean-up Code

Compare
Choose a tag to compare
@bmatcuk bmatcuk released this 21 Jul 17:56
· 84 commits to master since this release

v1.1.2 introduced some code that would automatically clean-up multiple separators in patterns and paths (ie, /path/to//something would automatically get cleaned to /path/to/something by treating the // as /). However, it has been brought to my attention that this is not always desirable and, so, it makes sense to remove it. If this is desirable behavior, you could always cleanup your patterns and paths before passing them to doublestar, but if I leave in this code and it is undesirable, you have no option to change the behavior.