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

Merge pull request #459 from hindessm/fix-info-id-refactoring-bug

Fix refactoring error; rename info to id.
This commit is contained in:
Nick O'Leary 2014-10-30 08:35:10 +00:00
commit ccfbd69f24

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) {