Skip to content

Commit

Permalink
Fix Bash in GA
Browse files Browse the repository at this point in the history
In GA, it does use "rule" instead of line for some reason.
  • Loading branch information
niknetniko committed Jan 29, 2024
1 parent 32e5faf commit 3c6b3ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tested/languages/bash/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def cleanup_stacktrace(self, stacktrace: str) -> str:
f"{EXECUTION_PREFIX}_[0-9]+_[0-9]+\\."
f"{self.file_extension()}: [a-zA-Z_]+ [0-9]+:"
)
script = rf"{submission_file(self)}: (regel|line) (\d+)"
script = rf"{submission_file(self)}: (regel|line|rule) (\d+)"
stacktrace = re.sub(script, r"<code>:\2", stacktrace)
stacktrace = regex.sub("<testcode>:", stacktrace).replace(
submission_file(self), "<code>"
Expand Down

0 comments on commit 3c6b3ff

Please sign in to comment.