1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

fix code style

This commit is contained in:
sonntam 2023-02-04 21:29:54 +01:00
parent 8740ec5570
commit 4c7c855f2c

View File

@ -871,7 +871,9 @@ RED.view.tools = (function() {
var sourceFreeOutportIndices = sourceOutportIndices.filter(x => !sourceConnectedOutportIndices.includes(x)); var sourceFreeOutportIndices = sourceOutportIndices.filter(x => !sourceConnectedOutportIndices.includes(x));
// Does an unconnected source port exist? // Does an unconnected source port exist?
if( sourceFreeOutportIndices.length == 0 ) continue; if (sourceFreeOutportIndices.length == 0) {
continue;
}
// Connect the first free outport to the target // Connect the first free outport to the target
var newLink = { var newLink = {