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