From 3a03d46d8da433058bd70e3f9b3ec37f7803d3f8 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 24 Nov 2015 22:43:17 +0000 Subject: [PATCH] Fix lint error in registry.js --- red/runtime/nodes/registry/registry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/red/runtime/nodes/registry/registry.js b/red/runtime/nodes/registry/registry.js index 32fcf72fa..fadf1f51b 100644 --- a/red/runtime/nodes/registry/registry.js +++ b/red/runtime/nodes/registry/registry.js @@ -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;