Skip to content

Commit

Permalink
fix: support references with slashes.
Browse files Browse the repository at this point in the history
  • Loading branch information
timfel committed Jan 16, 2024
1 parent cdbf260 commit 055048c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/java/dev/jbang/catalog/ImplicitCatalogRef.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ public static ImplicitCatalogRef parse(String name) {
} else {
path = "";
}
String[] names = parts[0].split("/");
if (names.length > 3) {
return null;
}
String[] names = parts[0].split("/", 3);
String org = names[0];
String repo;
if (names.length >= 2 && !names[1].isEmpty()) {
Expand Down

0 comments on commit 055048c

Please sign in to comment.