Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 25, 2024
1 parent 85a49d1 commit 0c1ca02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def _update_workflow(self, workflow_path: str) -> set[str]:
f'Updating "{action}" with "{updated_action}"...'
)
updated_workflow_data = re.sub(
rf"({action})(\s+['\"]?|['\"]?$)",
rf"({action})(\s+['\"]?|['\"]?$)",
rf"{updated_action}\2",
updated_workflow_data,
0,
Expand Down

0 comments on commit 0c1ca02

Please sign in to comment.