Skip to content

Failure result not returned #2

Description

@kernwig

When a script in "rss" returns failure, the return code is not passed out of rss. This makes it hard to spot problems among large outputs and allows CI/CD pipelines to proceed despite errors.

Simple test:

package.json

{
  "rss": {
    "false: "false"
  }
}

CLI:

$ npx rss false
$ echo $?

Expected: 1 (error response)
Observed: 0 (no error)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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