mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 15:14:42 +00:00
![]() Previously, we would always add `/{*filepath}` as our wildcard to match descendant paths. But when the root is just `/` (as it can be in tests, weird environments or in the ty playground), this causes a double `/` and inhibits most descendant matches. The regression test added in this commit fails without this fix. Specifically, it panics because it can't find a file root for `/project`. Fixes #1277 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |