We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8be7a23 commit 99d835bCopy full SHA for 99d835b
src/main/java/io/github/techstreet/dfscript/script/action/ScriptActionType.java
@@ -928,7 +928,7 @@ public enum ScriptActionType {
928
.arg("Text",ScriptActionArgumentType.TEXT)
929
.action(ctx -> {
930
String text = ctx.value("Text").asText();
931
- ctx.context().setVariable(ctx.variable("Result").name(), new ScriptNumberValue(text.length()));
+ ctx.task().context().setVariable(ctx.variable("Result").name(), new ScriptNumberValue(text.length()));
932
})),
933
934
READ_FILE(builder -> builder.name("Read File")
0 commit comments