Skip to content

Commit

Permalink
pr: configure fork names explicitly
Browse files Browse the repository at this point in the history
Reviewed-by: rwestberg
  • Loading branch information
edvbld committed Feb 15, 2021
1 parent 56221f3 commit 3cf5bd0
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -58,9 +58,9 @@ public List<Bot> create(BotConfiguration configuration) {

var forks = new HashMap<String, HostedRepository>();
if (specific.contains("forks")) {
for (var fork : specific.get("forks").asArray()) {
var repo = configuration.repository(fork.asString());
forks.put(repo.name(), repo);
for (var fork : specific.get("forks").fields()) {
var repo = configuration.repository(fork.value().asString());
forks.put(fork.name(), repo);
}
}

Expand Down

1 comment on commit 3cf5bd0

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.