Skip to content

Readme : Fix incorrect exmaple.#1277

Merged
charliermarsh merged 2 commits intoastral-sh:mainfrom
Honkertonken:main
Dec 18, 2022
Merged

Readme : Fix incorrect exmaple.#1277
charliermarsh merged 2 commits intoastral-sh:mainfrom
Honkertonken:main

Conversation

@Honkertonken
Copy link
Contributor

Updates incorrect usage example for "dummy-variable-rgx"

@charliermarsh
Copy link
Member

Thank you!

@charliermarsh charliermarsh merged commit 5ce4262 into astral-sh:main Dec 18, 2022
BurntSushi added a commit that referenced this pull request Oct 2, 2025
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
BurntSushi added a commit that referenced this pull request Oct 2, 2025
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
BurntSushi added a commit that referenced this pull request Oct 3, 2025
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
BurntSushi added a commit that referenced this pull request Oct 3, 2025
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
BurntSushi added a commit that referenced this pull request Oct 3, 2025
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants