Skip to content

Commit

Permalink
Fix var name (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
travisjeffery committed Dec 8, 2013
1 parent e7364f3 commit 5cd2add
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions support/tail.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ var uncaughtExceptionHandlers = [];
process.removeListener = function(e, fn){
if ('uncaughtException' == e) {
global.onerror = function() {};

var indexOfFn = uncaughtExceptionHandlers.indexOf(fn);
if (indexOfFn != -1) { uncaughtExceptionHandlers.splice(indexOfFn, 1); }
var i = uncaughtExceptionHandlers.indexOf(fn);
if (i != -1) { uncaughtExceptionHandlers.splice(i, 1); }
}
};

Expand Down

0 comments on commit 5cd2add

Please sign in to comment.