-
Notifications
You must be signed in to change notification settings - Fork 12k
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(@angular-devkit/core): provide actionable warning when a workspace project has missing root
property
#23473
fix(@angular-devkit/core): provide actionable warning when a workspace project has missing root
property
#23473
Conversation
58671d3
to
404383b
Compare
2f633d7
to
404383b
Compare
root
propertyroot
property
404383b
to
6390944
Compare
6390944
to
86e258d
Compare
…e project has missing `root` property The `root` property is required in a workspace project. Now we issue an actionable warning message when this is missing. Note: this will become an error in the next major version. Closes: angular#21310
86e258d
to
6f99294
Compare
@clydin PTAL |
// TODO: Diagnostic reporting support | ||
// eslint-disable-next-line no-console | ||
console.warn(message); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Does the node provide location info? line/column info may be useful for fixing the underlying problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's actually a value, we can change this to be the actual Node quite easily, but I prefer if this was done in a separate PR.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
The
root
property is required in a workspace project. Now we issue an actionable warning message when this is missing.Note: this will become an error in the next major version.
Closes: #21310