Skip to content
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

fix(core): do not mutate target defaults #26941

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

FrozenPandaz
Copy link
Collaborator

Current Behavior

Target defaults is mutated when the target is normalized. Subsequent targets are normalized with the mutated version yielding the incorrect projects configuration.

Expected Behavior

Target defaults is not mutated and all targets are correct.

Related Issue(s)

Fixes #

Verified

This commit was signed with the committer’s verified signature.
FrozenPandaz Jason Jean
@FrozenPandaz FrozenPandaz requested a review from a team as a code owner July 15, 2024 15:23
@FrozenPandaz FrozenPandaz requested a review from xiongemi July 15, 2024 15:23
Copy link

vercel bot commented Jul 15, 2024

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

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Jul 15, 2024 3:25pm

@FrozenPandaz FrozenPandaz enabled auto-merge (squash) July 15, 2024 15:34
@FrozenPandaz FrozenPandaz merged commit f3fa705 into master Jul 15, 2024
6 checks passed
@FrozenPandaz FrozenPandaz deleted the fix-target-defaults-mutation branch July 15, 2024 16:12
FrozenPandaz added a commit that referenced this pull request Jul 16, 2024

Verified

This commit was signed with the committer’s verified signature.
FrozenPandaz Jason Jean
## Current Behavior
<!-- This is the behavior we have today -->

Target defaults is mutated when the target is normalized. Subsequent
targets are normalized with the mutated version yielding the incorrect
projects configuration.

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

Target defaults is not mutated and all targets are correct.

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #

(cherry picked from commit f3fa705)
Copy link

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 Jul 25, 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.

None yet

2 participants