remove workaround

This commit is contained in:
Jonathan Shook 2020-03-16 10:57:55 -05:00
parent 439da28afa
commit 1b96cdd2f7

View File

@ -39,14 +39,12 @@ public class EBCLIScriptAssembly {
sb.append("\n");
}
break;
case start2:
case run2:
case start: // start activity
case run: // run activity
// Sanity check that this can parse before using it
activityDef = ActivityDef.parseActivityDef(cmdSpec);
sb.append("// from CLI as ").append(cmd).append("\n")
.append("scenario.").append(cmdType.toString().replace("2","")).append("(\"")
.append("scenario.").append(cmdType.toString()).append("(\"")
.append(cmdSpec)
.append("\");\n");
sb.append("// from CLI as ").append(cmd).append("\n");
@ -54,13 +52,6 @@ public class EBCLIScriptAssembly {
if (!cmdSpec.endsWith("\n")) {
sb.append("\n");
}
if (!cmdType.toString().contains("2")) {
sb.append("// temporary work-around for issue until proper fix\n");
sb.append("for each (paramset in activities.keySet()) {\n");
sb.append(" paramset.noop='value';\n");
sb.append("}\n");
}
break;
case await: // await activity
sb.append("// from CLI as ").append(cmd).append("\n");