From 3b6ed552e304a2f28e8dac8e12bccd98fa48c6f6 Mon Sep 17 00:00:00 2001 From: apemanzilla Date: Wed, 24 May 2017 12:42:49 -0400 Subject: [PATCH] Fix incorrect forEach usage --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 2e9cf921c..e8a7d1b35 100644 --- a/build.gradle +++ b/build.gradle @@ -99,7 +99,7 @@ GitHub Contributors: def history = grgit.log() Set 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'))