Skip to content

Allow --ignore-path option with a path that is not exist in workspace #780

@yossiyedid

Description

@yossiyedid

I'm running
check-dependency-version-consistency --dep-type=dependencies --dep-type=peerDependencies --dep-type=devDependencies --ignore-path-pattern=dist",
On my local run, I have dist folders with package.json I want to avoid, and on CI they don't exist.

While they do not exist in CI, I get an error
Specified option '--ignore-path-pattern /dist/', but no matching paths were detected in the workspace.
And then it breaks the run.

I want to pass a pattern that won't break the run even if it's not in the workspace.

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions