mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-12 18:30:29 +00:00
Fix incorrect forEach usage
This commit is contained in:
parent
5ff3ae6434
commit
3b6ed552e3
@ -99,7 +99,7 @@ GitHub Contributors:
|
||||
def history = grgit.log()
|
||||
|
||||
Set<String> contributors = []
|
||||
history.forEach { if(!blacklist.contains(it.committer.name)) contributors.add(it.committer.name) }
|
||||
history.each { if(!blacklist.contains(it.committer.name)) contributors.add(it.committer.name) }
|
||||
|
||||
def credits = file('src/main/resources/assets/computercraft/lua/rom/help/credits.txt')
|
||||
credits.write(header + contributors.sort().join('\n'))
|
||||
|
Loading…
Reference in New Issue
Block a user