Skip to content

--no-bail Doesn't appear to work for pnpm run #3036

Description

@shellscape

pnpm version: 5.13.7

Code to reproduce the issue:

This may be documentation ambiguity the more I look at it. https://pnpm.js.org/en/cli/run displays --no-bail, but it is enclosed within the same brackets as -r-. If this doesn't normally work without the recursive flag, it would be immensely useful for it to.

package.json:

"scripts": {
    "fail": "exit 1"
}

Run: pnpm run --no-bail fail

Expected behavior:

Process completes without error.

Actual behavior:

Command fails

Additional information:

  • node -v prints: 14.1.0
  • Windows, macOS, or Linux?: Mac

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions