Skip to content

Commit

Permalink
Update github-api to pick up secondary rate limit improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
holly-cummins committed Jun 20, 2024
1 parent 9113116 commit 467ed2e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions site-validation/bad-image-issue.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

//JAVA 17+

//DEPS org.kohsuke:github-api:1.321
//DEPS org.kohsuke:github-api:1.322
//DEPS info.picocli:picocli:4.2.0

import com.fasterxml.jackson.core.JsonProcessingException;
Expand Down Expand Up @@ -144,7 +144,7 @@ private void processBadImage(GitHub github, BadImage link) {
%s image: %s
The problem image was found on these artifacts: %s
Affected pages are
- %s
Expand Down Expand Up @@ -183,12 +183,12 @@ private List<BadImage> readTestOutputFile() throws IOException {
if (Files.exists(filePath)) {
try {
return Arrays.asList(new ObjectMapper().readValue(filePath.toFile(), BadImage[].class));
} catch (JsonProcessingException e) {
throw new RuntimeException(e);
}
} else {
return Collections.emptyList();
} catch (JsonProcessingException e) {
throw new RuntimeException(e);
}
} else {
return Collections.emptyList();
}
}

public static void main(String... args) {
Expand Down
2 changes: 1 addition & 1 deletion site-validation/dead-link-issue.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

//JAVA 17+

//DEPS org.kohsuke:github-api:1.321
//DEPS org.kohsuke:github-api:1.322
//DEPS info.picocli:picocli:4.2.0

import com.fasterxml.jackson.core.JsonProcessingException;
Expand Down

0 comments on commit 467ed2e

Please sign in to comment.