Skip to content

fix(core): do not append node_module paths in run-script executor #21445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

Cammisuli
Copy link
Member

Current Behavior

When running nx with package.json scripts, tasks that should fail do not fail

Expected Behavior

tasks should now properly fail when running through package.json scripts.

Related Issue(s)

Fixes #21431

@Cammisuli Cammisuli requested a review from a team as a code owner January 30, 2024 20:35
Copy link

vercel bot commented Jan 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Jan 30, 2024 10:20pm

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@Cammisuli Cammisuli force-pushed the do-not-append-node_modules-path-with-run-script branch from 3de8be8 to aa4f072 Compare January 30, 2024 22:19
@Cammisuli Cammisuli enabled auto-merge (squash) January 30, 2024 22:21
@Cammisuli Cammisuli merged commit 1327904 into nrwl:master Jan 30, 2024
@Cammisuli Cammisuli deleted the do-not-append-node_modules-path-with-run-script branch January 30, 2024 22:53
FrozenPandaz pushed a commit that referenced this pull request Jan 31, 2024

Partially verified

This commit is signed with the committer’s verified signature.
FrozenPandaz’s contribution has been verified via GPG key.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
…21445)

(cherry picked from commit 1327904)
Copy link

github-actions bot commented Feb 5, 2024

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nx run returned exit code 0 when tests are failing
2 participants