mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-09 18:02:19 +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 |
||
---|---|---|
.. | ||
import-resolution-diagram.dot | ||
import-resolution-diagram.svg | ||
list.rs | ||
mod.rs | ||
module.rs | ||
path.rs | ||
resolver.rs | ||
testing.rs | ||
typeshed.rs |