Skip to content

Commit 13d89a7

Browse files
committed
chore(flow-node-refs): code style
1 parent 2acb0e2 commit 13d89a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/features/modeling/cmd/UpdateFlowNodeRefsHandler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ UpdateFlowNodeRefsHandler.prototype.computeUpdates = function(flowNodeShapes, la
5858
}
5959

6060
function addFlowNodeShape(flowNodeShape) {
61-
if (handledNodes.indexOf(flowNodeShape) == -1) {
61+
if (handledNodes.indexOf(flowNodeShape) === -1) {
6262
allFlowNodeShapes.push(flowNodeShape);
6363
handledNodes.push(flowNodeShape);
6464
}
@@ -92,7 +92,7 @@ UpdateFlowNodeRefsHandler.prototype.computeUpdates = function(flowNodeShapes, la
9292
laneShapes.forEach(function(laneShape) {
9393
var root = getLanesRoot(laneShape);
9494

95-
if (!root || handledNodes.indexOf(root) > -1) {
95+
if (!root || handledNodes.indexOf(root) !== -1) {
9696
return;
9797
}
9898

0 commit comments

Comments
 (0)