Skip to content

Commit

Permalink
hack it
Browse files Browse the repository at this point in the history
Signed-off-by: tvallin <thibault.vallin@oracle.com>
  • Loading branch information
tvallin committed Jul 10, 2023
1 parent 4fc4627 commit 5a6c818
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ String getThisModuleName() {
String testSourceDirectory = Strings.normalizePath(build.getTestSourceDirectory());
Path basePath = toBasePath(testSourceDirectory);
String moduleName = toSuggestedModuleName(basePath, Path.of(testOutputDirectory), true).orElseThrow();
return moduleName.replace("unnamed", "io.helidon.pico.tests.pico");
return moduleName;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,9 @@ public static Optional<String> loadAppPackageName(Path scratchPath) {
}

if (hasValue(packageName)) {
if (packageName.equals("unnamed")) {
packageName = "io.helidon.pico.tests.pico";
}
return Optional.of(packageName);
}
}
Expand Down

0 comments on commit 5a6c818

Please sign in to comment.