Skip to content

Commit

Permalink
feat(#2422): refined logic for Place
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Dec 26, 2023
1 parent c101f47 commit 25c0222
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions eo-maven-plugin/src/main/java/org/eolang/maven/Place.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ public Path make(final Path dir, final String ext) {
out.append(this.name.title().replace(".", File.separator));
this.name.label().ifPresent(
version -> {
new JoinedUnderscore(
out.append('_').toString(),
out.append(version).toString()
).asString();
out.append(new JoinedUnderscore("", version).asString());
});
if (!ext.isEmpty()) {
out.append('.').append(ext);
Expand Down

0 comments on commit 25c0222

Please sign in to comment.