Skip to content

Commit 1a9198a

Browse files
committed
PR feedback
1 parent 8ac4580 commit 1a9198a

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

src/testRunner/unittests/tscWatch/helpers.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,9 @@ namespace ts.tscWatch {
218218
host,
219219
[
220220
...map(errors, hostOutputDiagnostic),
221-
...map(
222-
reportErrorSummary ?
223-
[getErrorSummaryText(errors.length, host.newLine)] :
224-
emptyArray,
225-
hostOutputWatchDiagnostic
226-
)
221+
...reportErrorSummary ?
222+
[hostOutputWatchDiagnostic(getErrorSummaryText(errors.length, host.newLine))] :
223+
emptyArray
227224
]
228225
);
229226
}

tests/projects/demo/zoo/zoo.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// import Animal from '../animals/index';
21
import { Dog, createDog } from '../animals/index';
32

43
export function createZoo(): Array<Dog> {

0 commit comments

Comments
 (0)