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

  1. KJ7LNW commented on Oct 12, 2025

    @KJ7LNW
    Contributor

    +1 . @bubkoo I am having the same problem, PR below :)

  2. KJ7LNW commented on Oct 12, 2025

    @KJ7LNW
    Contributor

    @kernwig ,

    If you are still having trouble, you can use my repository that temporarily fixes this until #3 lands:

    package.json

    "run-shared-scripts": "github:KJ7LNW/run-shared-scripts#lib-fix-propagate-exit-codes"
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