From 88ed8e289a3fa2b7eac42584df89320b5bd51e83 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Thu, 5 May 2016 15:05:52 -0700 Subject: [PATCH] Use longjohn to repair stacktraces on self-test --- tools/utils/parse-stack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/utils/parse-stack.js b/tools/utils/parse-stack.js index 5aaf287838..3da1322ef0 100644 --- a/tools/utils/parse-stack.js +++ b/tools/utils/parse-stack.js @@ -15,7 +15,7 @@ const _ = require('underscore'); // return anything past that function. We call this the "user portion" // of the stack. export function parse(err) { - var frames = err.stack.split('\n'); + let frames = err.stack.split('\n'); frames.shift(); // at least the first line is the exception