Skip to content

Commit

Permalink
chore: fix dependencies incompatibilities log message (#20632) (#20653)
Browse files Browse the repository at this point in the history
Co-authored-by: Marco Collovati <[email protected]>
  • Loading branch information
vaadin-bot and mcollovati authored Dec 9, 2024
1 parent cc000d8 commit 25b0c3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ public static Reflector of(MavenProject project,
}

void logIncompatibilities(Consumer<String> logger) {
if (dependenciesIncompatibility != null) {
if (dependenciesIncompatibility != null
&& !dependenciesIncompatibility.isEmpty()) {
logger.accept(
"""
Found dependencies defined with different versions in project and Vaadin maven plugin.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ public static Reflector of(MavenProject project,
}

void logIncompatibilities(Consumer<String> logger) {
if (dependenciesIncompatibility != null) {
if (dependenciesIncompatibility != null
&& !dependenciesIncompatibility.isEmpty()) {
logger.accept(
"""
Found dependencies defined with different versions in project and Vaadin maven plugin.
Expand Down

0 comments on commit 25b0c3f

Please sign in to comment.