File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
*/
8
8
import 'symbol-observable' ;
9
9
// symbol polyfill must go first
10
- // tslint:disable: no-console
11
10
// tslint:disable-next-line:ordered-imports import-groups
12
11
import { tags } from '@angular-devkit/core' ;
13
12
import * as fs from 'fs' ;
@@ -111,7 +110,7 @@ if (process.env['NG_CLI_PROFILING']) {
111
110
localVersion = _fromPackageJson ( ) ;
112
111
shouldWarn = localVersion != null && globalVersion . compare ( localVersion ) > 0 ;
113
112
} catch ( e ) {
114
- // eslint- disable-next-line no-console
113
+ // tslint: disable-next-line no-console
115
114
console . error ( e ) ;
116
115
shouldWarn = true ;
117
116
}
@@ -125,10 +124,10 @@ if (process.env['NG_CLI_PROFILING']) {
125
124
` ) ;
126
125
// Don't show warning colorised on `ng completion`
127
126
if ( process . argv [ 2 ] !== 'completion' ) {
128
- // eslint- disable-next-line no-console
127
+ // tslint: disable-next-line no-console
129
128
console . error ( warning ) ;
130
129
} else {
131
- // eslint- disable-next-line no-console
130
+ // tslint: disable-next-line no-console
132
131
console . error ( warning ) ;
133
132
process . exit ( 1 ) ;
134
133
}
@@ -170,6 +169,7 @@ if (process.env['NG_CLI_PROFILING']) {
170
169
process . exit ( exitCode ) ;
171
170
} )
172
171
. catch ( ( err : Error ) => {
172
+ // tslint:disable-next-line no-console
173
173
console . error ( 'Unknown error: ' + err . toString ( ) ) ;
174
174
process . exit ( 127 ) ;
175
175
} ) ;
You can’t perform that action at this time.
0 commit comments