Closed koen-dev closed 3 months ago
Ever since updating Rush to 5.126.0 and later the rush-pnpm store prune command returns exit code 1. Even though it looks to be working correctly and no further error information can be found.
5.126.0
rush-pnpm store prune
Reproducible repository: https://github.com/koen-dev/rush-pnpm-store-prune-bug
rush install
rush update
Run $? to get the exit code
$?
Expected result: Either a clearer error message or exit code 0
Actual result: exit code 1
@microsoft/rush
rushVersion
useWorkspaces
node -v
This is fixed in Rush 5.129.2
Thanks for the quick fix @iclanton 🙌🎉
Summary
Ever since updating Rush to
5.126.0
and later therush-pnpm store prune
command returns exit code 1. Even though it looks to be working correctly and no further error information can be found.Repro steps
Reproducible repository: https://github.com/koen-dev/rush-pnpm-store-prune-bug
rush install
orrush update
rush-pnpm store prune
Run
$?
to get the exit codeExpected result: Either a clearer error message or exit code 0
Actual result: exit code 1
Standard questions
@microsoft/rush
globally installed version?rushVersion
from rush.json?useWorkspaces
from rush.json?node -v
)?