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:
parent
aff8a7802a
commit
3840bd117c
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user