Skip to content
This repository was archived by the owner on Dec 1, 2019. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8dcad5d

Browse files
author
Stanislav Panferov
committedJul 24, 2015
feat(checker): fix compiler reference
1 parent 44baa68 commit 8dcad5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function processCompile(payload: ICompilePayload) {
121121
if (allDiagnostics.length) {
122122
console.error(colors.yellow('Checker diagnostics:'))
123123
allDiagnostics.forEach(diagnostic => {
124-
let message = ts.flattenDiagnosticMessageText(diagnostic.messageText, '\n');
124+
let message = env.compiler.flattenDiagnosticMessageText(diagnostic.messageText, '\n');
125125

126126
if (diagnostic.file) {
127127
let { line, character } = diagnostic.file.getLineAndCharacterOfPosition(diagnostic.start);

0 commit comments

Comments
 (0)
This repository has been archived.