mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
fix undecalred variable access
This commit is contained in:
parent
55a94d659b
commit
e4098d3991
@ -115,7 +115,7 @@ module.exports = function(RED) {
|
|||||||
targs.splice(idx, 1);
|
targs.splice(idx, 1);
|
||||||
}
|
}
|
||||||
if (targs.length === 0) {
|
if (targs.length === 0) {
|
||||||
delete registry.name[tn.name];
|
delete registry.name[target.name]
|
||||||
}
|
}
|
||||||
delete registry.id[target.id];
|
delete registry.id[target.id];
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user