From 3840bd117c1b664008d42c3b9c00a4d8772ae2dc Mon Sep 17 00:00:00 2001 From: Mark Hindess Date: Thu, 30 Oct 2014 08:08:41 +0000 Subject: [PATCH] Fix refactoring error; rename info to id. --- red/nodes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/red/nodes/index.js b/red/nodes/index.js index 3d5ad7190..36c63ce3f 100644 --- a/red/nodes/index.js +++ b/red/nodes/index.js @@ -54,7 +54,7 @@ function init(_settings,storage) { function checkTypeInUse(id) { var nodeInfo = registry.getNodeInfo(id); if (!nodeInfo) { - throw new Error("Unrecognised id: "+info); + throw new Error("Unrecognised id: "+id); } var inUse = {}; flows.each(function(n) {