Skip to content

Commit

Permalink
Changed defaultStackFilter to match windows paths
Browse files Browse the repository at this point in the history
  • Loading branch information
AriaMinaei authored and briancavalier committed Apr 3, 2014
1 parent b467f40 commit 1f8a931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitor/PromiseMonitor.js
Expand Up @@ -6,7 +6,7 @@
define(function(require) {

var defaultStackJumpSeparator = 'from execution context:';
var defaultStackFilter = /(node|module|timers)\.js:|when(\/(lib|monitor|es6-shim)\/|\.js)|(new\sPromise)\b|(\b(PromiseMonitor|ConsoleReporter|Scheduler|RunHandlerTask|ProgressTask|Promise|.*Handler)\.[\w_]\w\w+\b)|\b(tryCatch\w+|getHandler\w*)\b/i;
var defaultStackFilter = /(node|module|timers)\.js:|when([\/\\]{1,2}(lib|monitor|es6-shim)[\/\\]{1,2}|\.js)|(new\sPromise)\b|(\b(PromiseMonitor|ConsoleReporter|Scheduler|RunHandlerTask|ProgressTask|Promise|.*Handler)\.[\w_]\w\w+\b)|\b(tryCatch\w+|getHandler\w*)\b/i;

var setTimer = require('../lib/timer').set;
var error = require('./error');
Expand Down

0 comments on commit 1f8a931

Please sign in to comment.