Skip to content

Commit c3e13e5

Browse files
author
guidojo
committed
Don't clear tslint result on start
1 parent 8c34458 commit c3e13e5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/projectWatcher/Project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class Project {
9696
if (this.lastResult) result.push(this.lastResult);
9797
if (this.tslintRunner) {
9898
const tslintResult = this.tslintRunner.getLastResult();
99-
if (tslintResult) result.push(this.tslintRunner.getLastResult());
99+
if (tslintResult) result.push(tslintResult);
100100
}
101101

102102
return result.join("\n");

src/tslint/TslintRunner.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export class TslintRunner {
3131
autofix: this.autofix
3232
});
3333

34-
this.result = "";
3534
this.startLintingWhenNotRunning();
3635
}
3736

0 commit comments

Comments
 (0)