Skip to content

Commit

Permalink
Fix stack overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Nov 13, 2024
1 parent 55f5cd5 commit 59d21da
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,9 @@ private Model readParentLocally(Model childModel) throws ModelBuilderException {
if (parentPath == null) {
parentPath = "..";
}
candidateSource = request.getSource().resolve(modelProcessor::locateExistingPom, parentPath);
if (!parentPath.isEmpty()) {
candidateSource = request.getSource().resolve(modelProcessor::locateExistingPom, parentPath);
}
}
}

Expand Down

0 comments on commit 59d21da

Please sign in to comment.