Skip to content

Commit

Permalink
test length as numeric
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Sep 14, 2024
1 parent 46b321c commit 6bd62b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/get-prereqs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const filterPrereqs = ({
phases.has(prereq.phase)
&& relationships.has(prereq.relationship)
&& (!prereq.feature || features.includes(prereq.feature))
&& !excludes.filter(ex => ex.exec(prereq.prereq)).length,
&& excludes.filter(ex => ex.exec(prereq.prereq)).length === 0,
);
};

Expand Down

0 comments on commit 6bd62b3

Please sign in to comment.