From 502d6af895c558193f051601c6d14d2ab32584f9 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 19 Jun 2019 21:18:46 +0100 Subject: each, not every --- scripts/toy.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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); }); }; -- cgit v1.2.3