1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix refactoring error; rename info to id.

This commit is contained in:
Mark Hindess 2014-10-30 08:08:41 +00:00
parent aff8a7802a
commit 3840bd117c

View File

@ -54,7 +54,7 @@ function init(_settings,storage) {
function checkTypeInUse(id) { function checkTypeInUse(id) {
var nodeInfo = registry.getNodeInfo(id); var nodeInfo = registry.getNodeInfo(id);
if (!nodeInfo) { if (!nodeInfo) {
throw new Error("Unrecognised id: "+info); throw new Error("Unrecognised id: "+id);
} }
var inUse = {}; var inUse = {};
flows.each(function(n) { flows.each(function(n) {