Skip to content

Commit

Permalink
[MNG-8210] Fix broken inference of version when using -f option (#1720)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet authored Sep 11, 2024
1 parent bb99857 commit e0b01fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private void doLoadFullReactor() {
ModelBuilderRequest.build(request, ModelSource.fromPath(pom));
Model rawModel = defaultModelBuilder.readFileModel(gaBuildingRequest, problems);
List<String> subprojects = rawModel.getSubprojects();
if (subprojects == null) {
if (subprojects.isEmpty()) {
subprojects = rawModel.getModules();
}
for (String subproject : subprojects) {
Expand Down

0 comments on commit e0b01fb

Please sign in to comment.