diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-06-19 21:18:46 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-06-19 21:18:46 +0100 |
commit | 502d6af895c558193f051601c6d14d2ab32584f9 (patch) | |
tree | b1cff547f018d7cd2e3a9f7e9c4e86b2b7f88b4f | |
parent | Extract social into a module (diff) | |
download | toy-502d6af895c558193f051601c6d14d2ab32584f9.zip |
each, not every
-rw-r--r-- | scripts/toy.groovy | 2 |
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); }); }; |