fix(core): correct 'occured' typo to 'occurred' in error messages#35852
Merged
Conversation
👷 Deploy request for nx-docs pending review.Visit the deploys page to approve it
|
👷 Deploy request for nx-dev pending review.Visit the deploys page to approve it
|
FrozenPandaz
approved these changes
Jun 2, 2026
Contributor
|
View your CI Pipeline Execution ↗ for commit e0ff257
☁️ Nx Cloud last updated this comment at |
Contributor
|
Thank you for your contribution! LGTM 🎉 |
Contributor
There was a problem hiding this comment.
Nx Cloud has identified a flaky task in your failed CI:
Since the failure was identified as flaky, the solution is to rerun CI. Because this branch comes from a fork, it is not possible for us to push directly, but you can rerun by pushing an empty commit:
git commit --allow-empty -m "chore: trigger rerun"
git push
🎓 Learn more about Self-Healing CI on nx.dev
vrxj81
pushed a commit
to vrxj81/nx
that referenced
this pull request
Jun 7, 2026
…wl#35852) ## Current Behavior Three error/diagnostic messages in the `nx` package misspell "occurred" as "occured": - `packages/nx/src/plugins/js/lock-file/lock-file.ts` — `title: 'An error occured while creating pruned lockfile'` (shown to users on lockfile pruning failure) - `packages/nx/src/command-line/graph/graph.ts` — `"... occured while processing the project graph. Showing partial graph."` (console output) - `packages/nx/src/project-graph/error-types.ts` — doc comment `"... errors which occured."` ## Expected Behavior The word is spelled "occurred" in all three places. ## Related Issue(s) N/A — spelling-only fix, no behavior change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Current Behavior
Three error/diagnostic messages in the
nxpackage misspell "occurred" as "occured":packages/nx/src/plugins/js/lock-file/lock-file.ts—title: 'An error occured while creating pruned lockfile'(shown to users on lockfile pruning failure)packages/nx/src/command-line/graph/graph.ts—"... occured while processing the project graph. Showing partial graph."(console output)packages/nx/src/project-graph/error-types.ts— doc comment"... errors which occured."Expected Behavior
The word is spelled "occurred" in all three places.
Related Issue(s)
N/A — spelling-only fix, no behavior change.