summaryrefslogtreecommitdiff
path: root/scripts/toy.groovy
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-06-19 21:18:46 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-06-19 21:18:46 +0100
commit502d6af895c558193f051601c6d14d2ab32584f9 (patch)
treeb1cff547f018d7cd2e3a9f7e9c4e86b2b7f88b4f /scripts/toy.groovy
parentExtract social into a module (diff)
downloadtoy-502d6af895c558193f051601c6d14d2ab32584f9.zip
each, not every
Diffstat (limited to 'scripts/toy.groovy')
-rw-r--r--scripts/toy.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index d7747a7..5dc97d5 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -94,7 +94,7 @@ return new Object() {
def loadModules = { toy ->
new File("$DATAFOLDER/scripts/toy")
.listFiles()
- .every({s ->
+ .each({s ->
Eval.me(s.text)(toy);
});
};