Skip to content

Commit

Permalink
Re-add task id to behave subprocess
Browse files Browse the repository at this point in the history
Raphael : 

> Worked around for it now, but then I noticed task_id has been removed from the gherkin_rules.run() method
  • Loading branch information
Ghesselink authored Feb 22, 2024
1 parent ef7f812 commit 874bb08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def run(filename, rule_type=RuleType.ALL, with_console_output=False, execution_m
*feature_filter, *tag_filter,
"--define", f"input={os.path.abspath(filename)}",
"--define", f"execution_mode={execution_mode}",
"--define", f"task_id={task_id}",
"-f", "json", "-o", jsonfn # save to json file
],
cwd=cwd, **kwargs)
Expand Down

0 comments on commit 874bb08

Please sign in to comment.