Skip to content

Commit

Permalink
fix annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
girarda committed May 22, 2024
1 parent 493c47f commit 306af9e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def _run(self) -> StepResult:

return StepResult(step=self, status=StepStatus.SUCCESS)

def replace_text_in_files(self, root_dir: str, old_text: str, new_text: str) -> None:
def replace_text_in_files(self, root_dir: Path, old_text: str, new_text: str) -> None:
for dirpath, dirnames, filenames in os.walk(root_dir):
for filename in filenames:
if filename.endswith(".py"):
Expand Down

0 comments on commit 306af9e

Please sign in to comment.