Skip to content

Commit 99d835b

Browse files
committed
made sure it is compatible with the commits that have been commited earlier lol
1 parent 8be7a23 commit 99d835b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/github/techstreet/dfscript/script/action/ScriptActionType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ public enum ScriptActionType {
928928
.arg("Text",ScriptActionArgumentType.TEXT)
929929
.action(ctx -> {
930930
String text = ctx.value("Text").asText();
931-
ctx.context().setVariable(ctx.variable("Result").name(), new ScriptNumberValue(text.length()));
931+
ctx.task().context().setVariable(ctx.variable("Result").name(), new ScriptNumberValue(text.length()));
932932
})),
933933

934934
READ_FILE(builder -> builder.name("Read File")

0 commit comments

Comments
 (0)