Skip to content

Commit

Permalink
Do not delete the stack from TSError
Browse files Browse the repository at this point in the history
Closes #248
  • Loading branch information
blakeembrey committed Dec 9, 2016
1 parent 67e2981 commit eb2f9a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,6 @@ export class TSError extends BaseError {
super(
`⨯ Unable to compile TypeScript\n${diagnostics.map(x => x.message).join('\n')}`
)

this.stack = '' // Hide the stack trace.
}

}

0 comments on commit eb2f9a4

Please sign in to comment.