1
0
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:
Steve-Mcl 2022-07-11 10:28:17 +01:00
parent 55a94d659b
commit e4098d3991

View File

@ -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];
}, },