Skip to content

Commit

Permalink
auto add trailing / in cli
Browse files Browse the repository at this point in the history
closes #13
  • Loading branch information
wagyourtail committed Jul 31, 2024
1 parent 58a1583 commit 1dc8aa8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/xyz/wagyourtail/jvmdg/cli/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ public static void shade(Map<String, List<String[]>> args) throws IOException {
List<String> prefixes = new ArrayList<>();
List<String[]> prefix = args.get("--prefix");
for (String[] strings : prefix) {
if (!strings[0].endsWith("/")) {
strings[0] += "/";
}
prefixes.add(strings[0]);
}

Expand Down

0 comments on commit 1dc8aa8

Please sign in to comment.