From 5a6fd06386580b3f92bb032ff477184383c22b0a Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Thu, 10 Dec 2015 09:51:53 -0800 Subject: [PATCH] There is no ES6 in compile-cache.js --- src/compile-cache.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compile-cache.js b/src/compile-cache.js index fde04a2f4..1bbef4273 100644 --- a/src/compile-cache.js +++ b/src/compile-cache.js @@ -161,8 +161,7 @@ require('source-map-support').install({ Error.stackTraceLimit = 30 var prepareStackTraceWithSourceMapping = Error.prepareStackTrace - -let prepareStackTrace = prepareStackTraceWithSourceMapping +var prepareStackTrace = prepareStackTraceWithSourceMapping function prepareStackTraceWithRawStackAssignment (error, frames) { if (error.rawStack) { // avoid infinite recursion