Skip to content

Commit

Permalink
fix(linter): ensure onlyDependOnLibsWithTags is present before check (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Mar 4, 2022
1 parent ecf6675 commit fa4cb1a
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -399,9 +399,10 @@ export default createESLintRule<Options, MessageIds>({

for (let constraint of constraints) {
if (
constraint.onlyDependOnLibsWithTags &&
hasNoneOfTheseTags(
targetProject,
constraint.onlyDependOnLibsWithTags || []
constraint.onlyDependOnLibsWithTags
)
) {
const allowedTags = constraint.onlyDependOnLibsWithTags
Expand Down

0 comments on commit fa4cb1a

Please sign in to comment.