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.
This commit is contained in:
Paul van Brenk 2015-05-19 18:07:21 -07:00
parent 3853489628
commit 635c703872

View file

@ -893,7 +893,7 @@ module ts {
return {
options: configFile.options,
files: configFile.fileNames,
errors: [realizeDiagnostics(configFile.errors, '\r\n')]
errors: realizeDiagnostics(configFile.errors, '\r\n')
};
});
}