Compare commits

...

1 commit

Author SHA1 Message Date
Arthur Ozga 225dd0a802 remove stack message limit 2018-01-26 16:11:36 -08:00

View file

@ -11,8 +11,8 @@ namespace ts {
*/
/* @internal */
export function setStackTraceLimit() {
if ((Error as any).stackTraceLimit < 100) { // Also tests that we won't set the property if it doesn't exist.
(Error as any).stackTraceLimit = 100;
if ((Error as any).stackTraceLimit < Infinity) { // Also tests that we won't set the property if it doesn't exist.
(Error as any).stackTraceLimit = Infinity;
}
}