Skip to content

Commit

Permalink
fix run command formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysa committed Oct 8, 2023
1 parent 7685dc6 commit 5846744
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pre_commit_hooks/format_dockerfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ def load_dockerfile(self, *, dockerfile_path: Path) -> None:
def save(self, *, file: Path) -> None:
if self._file_as_changed():
logger.debug(f'update {self.dockerfile} ..........')
print(f"{file=}")
print(f"{self.dockerfile=}")
with open(file, 'w+') as stream:
stream.seek(0)
stream.write(self.content)
Expand Down

0 comments on commit 5846744

Please sign in to comment.