Skip to content

Commit

Permalink
chore: stop traversing early
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Jun 13, 2024
1 parent b2f2cf3 commit 254c61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/event-reference.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = function() {
function check(node, reporter) {

if (!is(node, 'bpmn:Definitions')) {
return;
return false;
}

const events = getEvents(node);
Expand Down

0 comments on commit 254c61e

Please sign in to comment.