Skip to content

Commit

Permalink
Fix update on extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
ia3andy committed Oct 24, 2023
1 parent ee1d5a3 commit 2f453f4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ protected static boolean logState(ProjectState projectState, boolean perModule,

if (projectState.getExtensions().isEmpty()) {
log.info("");
log.info("No Quarkus extensions found among the project dependencies");
log.info("No Quarkus extensions were found among the project dependencies");
return recommendationsAvailable;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ private static void logUpdates(QuarkusProject project, ProjectState currentState
return;
}
if (currentState.getExtensions().isEmpty()) {
log.info("Quarkus extension were not found among the project dependencies");
log.info("No Quarkus extensions were found among the project dependencies");
return;
}
if (currentState == recommendedState) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@ private static void checkProjectState(ProjectState currentState, ProjectState re
if (currentState.getPlatformBoms().isEmpty()) {
throw new IllegalStateException("The project does not import any Quarkus platform BOM");
}
if (currentState.getExtensions().isEmpty()) {
throw new IllegalStateException("Quarkus extension were not found among the project dependencies");
}
if (currentState == recommendedState) {
throw new IllegalStateException("The project is up-to-date");
}
}

public static ProjectState resolveRecommendedState(ProjectState currentState, ExtensionCatalog recommendedCatalog,
Expand Down

0 comments on commit 2f453f4

Please sign in to comment.