-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Description
Versions
Angular CLI: 6.0.7
Node: 9.6.1
OS: darwin x64
Angular: 6.0.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.6.7
@angular-devkit/build-angular 0.6.7
@angular-devkit/build-optimizer 0.6.7
@angular-devkit/core 0.6.7
@angular-devkit/schematics 0.6.7 (cli-only)
@angular/cdk 6.2.0
@angular/cli 6.0.7
@angular/material 6.2.0
@ngtools/webpack 6.0.7
@schematics/angular 0.6.7 (cli-only)
@schematics/update 0.6.7
rxjs 6.2.0
typescript 2.7.2
webpack 4.8.3
Repro steps
- Start lint with
ng lint
Observed behavior
Success and error messages from lint are shown twice in the console.
For example, success case:
$ ng lint
All files pass linting.
All files pass linting.
Error case (with a simple lint error (missing semicolon)):
$ ng lint
ERROR: .../frontend/src/app/file-list/file-list.component.ts[11, 55]: Missing semicolon
ERROR: .../frontend/src/app/file-list/file-list.component.ts[11, 55]: Missing semicolon
Lint errors found in the listed files.
All files pass linting.
Desired behavior
The log messages (success and error case) should only be shown once.
Mention any other details that might be useful (optional)
Why are there so many new lines between the log messages?
Why does it say All files pass linting.
in the error case? Shouldn't it just say Lint errors found in the listed files.
?
fetis, newaeonweb, ndelrossi, brunolm, matyasfodor and 5 more