We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaec9de commit 052904dCopy full SHA for 052904d
packages/angular_devkit/schematics/tasks/tslint-fix/executor.ts
@@ -182,7 +182,10 @@ export default function(): TaskExecutor<TslintFixTaskOptions> {
182
}
183
const formatter = new Formatter();
184
185
- const output = formatter.format(result.failures, result.fixes);
+ // Certain tslint formatters outputs '\n' when there are no failures.
186
+ // This will bloat the console when having schematics running refactor tasks.
187
+ // see https://github.com/palantir/tslint/issues/4244
188
+ const output = (formatter.format(result.failures, result.fixes) || '').trim();
189
if (output) {
190
context.logger.info(output);
191
0 commit comments