Skip to content

Commit

Permalink
fix(gradle): contributors format (#5356)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccetl authored Jan 19, 2025
1 parent a5b1543 commit 79cacf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def getContributors(repoOwner, repoName) {
if (200 <= connection.responseCode && connection.responseCode <= 299) {
def response = connection.inputStream.text
def json = new JsonSlurper().parseText(response)
return json
return json[]
.collect { it['author']['login'] }
.findAll { !(it as String).contains("dependabot") }
.reversed()
Expand Down

0 comments on commit 79cacf3

Please sign in to comment.