fix undecalred variable access

This commit is contained in:
Steve-Mcl 2022-07-11 10:28:17 +01:00
parent 55a94d659b
commit e4098d3991
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ module.exports = function(RED) {
targs.splice(idx, 1);
}
if (targs.length === 0) {
delete registry.name[tn.name];
delete registry.name[target.name]
}
delete registry.id[target.id];
},