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

chore(core): prepare Angular specific error only before throwing it #18904

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

arturovt
Copy link
Contributor

This commit updates the implementation of the readCachedProjectGraph function and checks whether the angular.json file exists only when it's required, throwing the error afterward. This removes the redundant call to statSync if we encounter a cached graph.

This commit updates the implementation of the `readCachedProjectGraph` function and
checks whether the `angular.json` file exists only when it's required, throwing the error
afterward. This removes the redundant call to `statSync` if we encounter a cached graph.
@arturovt arturovt requested a review from a team as a code owner August 30, 2023 09:56
@arturovt arturovt requested a review from vsavkin August 30, 2023 09:56
@vercel
Copy link

vercel bot commented Aug 30, 2023

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

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Aug 30, 2023 9:57am

@AgentEnder AgentEnder changed the title fix(core): prepare Angular specific error only before throwing it chore(core): prepare Angular specific error only before throwing it Sep 21, 2023
@AgentEnder AgentEnder merged commit 57dc105 into nrwl:master Sep 21, 2023
@arturovt arturovt deleted the fix/core-graph-cache branch September 21, 2023 20:25
@github-actions
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 Sep 27, 2023
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.

2 participants