Skip to content

Commit

Permalink
Fix ConfigContainer::isSatisfied faulty logic (#113)
Browse files Browse the repository at this point in the history
Signed-off-by: Hendrix-Shen <[email protected]>
  • Loading branch information
Hendrix-Shen authored Oct 13, 2024
1 parent 64b7202 commit f45fe2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public boolean isDevOnly() {
}

public boolean isSatisfied() {
return this.dependencies.stream().allMatch(DependenciesContainer::isSatisfied);
return this.dependencies.stream().anyMatch(DependenciesContainer::isSatisfied);
}

@SuppressWarnings("BooleanMethodIsAlwaysInverted")
Expand Down

0 comments on commit f45fe2d

Please sign in to comment.