nx exec
prints the help docs multiple times when executed command returns non-zero exit code
#14202
Labels
nx exec
prints the help docs multiple times when executed command returns non-zero exit code
#14202
Current Behavior
nx exec
prints the help docs multiple times when executed command returns non-zero exit codeExpected Behavior
I would expect the help to not be generated either time. I would also expect the exit code to propagate down from the original npm script. Basically I would expect it to work the same as if I was not using
nx exec
and was instead calling nx directly:The primary use case I have for this is trying to run tests thru
nx exec
. Test runners typically return a non-zero exit code when a test fails.Github Repo
No response
Steps to Reproduce
package.json
that usesnx exec
:Nx Report
Failure Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: