Skip to content

--filter=!/some/path/* does not work #9897

@Lucas-C

Description

@Lucas-C

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

https://github.com/sncf-connect-tech/turbo-bug-repro

Which canary version will you have in your reproduction?

2.4.0

Enviroment information

WSL 2

Expected behavior

The command pnpm lint --filter='!./src/apps/*' should execute the lint script in all sub-packages of ./src/packages/.

Actual behavior

The pnpm lint --filter='!./src/apps/*' command does nothing.

To Reproduce

Run: pnpm lint --filter='!./src/apps/*'

Additional context

The reprository provided to reproduce the issue was created using those commands:

npx create-turbo@canary

git mv apps src/
git mv packages src/
echo -e 'packages:\n  - "src/*"' > pnpm-workspace.yaml

Metadata

Metadata

Assignees

Labels

kind: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions