Skip to content

Commit 635c703

Browse files
author
Paul van Brenk
committed
Fix issue in the parsing of tsConfig file, this was fixed in master before, but never ported.
The realizeDiagnosticS function already returns an array, no need to wrap again. The realizeDiagnostic (no S) function returns a single diagnostic.
1 parent 3853489 commit 635c703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/shims.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ module ts {
893893
return {
894894
options: configFile.options,
895895
files: configFile.fileNames,
896-
errors: [realizeDiagnostics(configFile.errors, '\r\n')]
896+
errors: realizeDiagnostics(configFile.errors, '\r\n')
897897
};
898898
});
899899
}

0 commit comments

Comments
 (0)