Fix lint error in registry.js

This commit is contained in:
Nick O'Leary 2015-11-24 22:43:17 +00:00
parent f03aff7006
commit 3a03d46d8d
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ function getModuleInfo(module) {
function getCaller(){
var orig = Error.prepareStackTrace;
Error.prepareStackTrace = function(_, stack){ return stack; };
var err = new Error;
var err = new Error();
Error.captureStackTrace(err, arguments.callee);
var stack = err.stack;
Error.prepareStackTrace = orig;