k-maru / grunt-typescript

MIT License
137 stars 60 forks source link

Missing contextual information #104

Closed rbakhshi closed 9 years ago

rbakhshi commented 9 years ago

When writeError method is called passing it a Typescript compilation error message, in Windows it trims all the content in a way that there would be no way to find out where the error happened. This is more sever when the compilation error has happened due to a error in a dependent file (not the main Typescript file). It looks like in Windows when the str contains "\r" character the replace(/\n/g,...) will incorrectly replace the whole string.

rbakhshi commented 9 years ago

Originally I thought it is a problem with Typescript compiler (http://stackoverflow.com/questions/31199987/typescript-compile-error-missing-line-number-information)

rbakhshi commented 9 years ago

Why is the CI build failed! It builds with no problem locally!