-
Notifications
You must be signed in to change notification settings - Fork 11.9k
fix(@angular/cli): throw xi18n errors #8480
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
b4afbc1
to
3c1ef98
Compare
} | ||
|
||
const json = stats.toJson('verbose'); | ||
if (runTaskOptions.verbose) { |
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.
I'd prefer we didn't output bundle stats in xi18n
since those bundles aren't actually generated on disk and we didn't outputt this information for xi18n
before. Can you leave just the warning/error logic please?
3c1ef98
to
963da70
Compare
963da70
to
ec89514
Compare
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.
LGTM, the CI failures atm are due to the view encapsulation changes in master.
ec89514
to
106b45f
Compare
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. |
Correctly throw xi18n errors (and print warnings) instead of ignoring them.
I've also removed the catch so that the extraction really fails when there is an error.
Fixes #8065