Skip to content

Commit 9c82b16

Browse files
Strum355claude
andcommitted
fix(workspace): use public static overload of traverseForMvnw
The 2-arg traverseForMvnw is a private instance method on JavaMavenProvider. Call the 3-arg public static overload with null repoRoot instead, which has the same behavior. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 831da06 commit 9c82b16

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/io/github/guacsec/trustifyda/impl/ExhortApi.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,8 @@ private String resolveMavenBinary(Path startDir) {
11221122
if (preferWrapper) {
11231123
String wrapperName = Operations.isWindows() ? "mvnw.cmd" : "mvnw";
11241124
String mvnw =
1125-
JavaMavenProvider.traverseForMvnw(wrapperName, startDir.resolve("pom.xml").toString());
1125+
JavaMavenProvider.traverseForMvnw(
1126+
wrapperName, startDir.resolve("pom.xml").toString(), null);
11261127
if (mvnw != null) {
11271128
try {
11281129
Operations.runProcess(startDir, mvnw, "-v");

0 commit comments

Comments
 (0)