Skip to content

pnpm --filter command results in rtk usage output #259

@KuSh

Description

@KuSh

Always prefix commands with rtk. If RTK has a dedicated filter, it uses it. If not, it passes through unchanged. This means RTK is always safe to use.

Contrary to what rule says, it isn't safe for pnpm commands:

$ rtk pnpm --filter mymodule test **/*.spec.ts
error: unexpected argument '--filter' found

Usage: rtk pnpm [OPTIONS] <COMMAND>

For more information, try '--help'.

Why not pass everything unknown to the target?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2-importantDevrait être fixé bientôtbugSomething isn't workingeffort-smallQuelques heures, 1 fichierfilter-qualityFilter produces incorrect/truncated signalgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions