Skip to content

Commit

Permalink
cli: write to the output file, not the Path object (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian authored Dec 15, 2022
1 parent 403c509 commit 22d7e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pip_audit/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,4 +540,4 @@ def audit() -> None: # pragma: no cover
# even if nothing other than a dependency summary is present.
if skip_count > 0 or formatter.is_manifest:
with _output_io(args.output) as io:
print(formatter.format(result, fixes), file=args.output)
print(formatter.format(result, fixes), file=io)

0 comments on commit 22d7e4c

Please sign in to comment.