Make flow check async

This commit is contained in:
Ludo Fardel
2015-08-17 02:05:29 -07:00
parent ca38908423
commit 8460db57bc
4 changed files with 111 additions and 9 deletions
@@ -32,7 +32,7 @@ function parseErrorStack(e, sourceMapInstance) {
return [];
}
var stack = stacktraceParser.parse(e.stack);
var stack = Array.isArray(e.stack) ? e.stack : stacktraceParser.parse(e.stack);
var framesToPop = e.framesToPop || 0;
while (framesToPop--) {