fix: fork Scope before runScript
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/jfmod Pipeline was successful Details

This commit is contained in:
Johannes Frohnmeyer 2023-09-15 19:03:24 +02:00
parent e6228de759
commit c76df2ba8d
Signed by: Johannes
GPG Key ID: E76429612C2929F4
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public class MuScriptScope {
);
List<? extends Dynamic> l = args.getValue();
DList innerArgs = of(l.subList(1, l.size()));
return script.bindTo(scope).call(innerArgs);
return script.bindTo(scope.fork()).call(innerArgs);
});
}
}