Closed rbakhshi closed 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)
Why is the CI build failed! It builds with no problem locally!
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 thereplace(/\n/g,...)
will incorrectly replace the whole string.