Skip to content

Commit 3e94d7b

Browse files
alan-agius4mgechev
authored andcommitted
style: add tslint:disable-next-line no-console
1 parent a71e92f commit 3e94d7b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/angular/cli/lib/init.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
*/
88
import 'symbol-observable';
99
// symbol polyfill must go first
10-
// tslint:disable: no-console
1110
// tslint:disable-next-line:ordered-imports import-groups
1211
import { tags } from '@angular-devkit/core';
1312
import * as fs from 'fs';
@@ -111,7 +110,7 @@ if (process.env['NG_CLI_PROFILING']) {
111110
localVersion = _fromPackageJson();
112111
shouldWarn = localVersion != null && globalVersion.compare(localVersion) > 0;
113112
} catch (e) {
114-
// eslint-disable-next-line no-console
113+
// tslint:disable-next-line no-console
115114
console.error(e);
116115
shouldWarn = true;
117116
}
@@ -125,10 +124,10 @@ if (process.env['NG_CLI_PROFILING']) {
125124
`);
126125
// Don't show warning colorised on `ng completion`
127126
if (process.argv[2] !== 'completion') {
128-
// eslint-disable-next-line no-console
127+
// tslint:disable-next-line no-console
129128
console.error(warning);
130129
} else {
131-
// eslint-disable-next-line no-console
130+
// tslint:disable-next-line no-console
132131
console.error(warning);
133132
process.exit(1);
134133
}
@@ -170,6 +169,7 @@ if (process.env['NG_CLI_PROFILING']) {
170169
process.exit(exitCode);
171170
})
172171
.catch((err: Error) => {
172+
// tslint:disable-next-line no-console
173173
console.error('Unknown error: ' + err.toString());
174174
process.exit(127);
175175
});

0 commit comments

Comments
 (0)