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
1 changed files with 1 additions and 1 deletions

View File

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