Skip to content

Commit

Permalink
_cli: fix sig output
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw committed Jan 25, 2023
1 parent d00d7a8 commit d045d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sigstore/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ def _sign(args: argparse.Namespace) -> None:
print(f"Transparency log entry created at index: {result.log_entry.log_index}")

sig_output: TextIO
if outputs["sig"] in outputs:
if "sig" in outputs:
sig_output = outputs["sig"].open("w")
else:
sig_output = sys.stdout
Expand Down

0 comments on commit d045d21

Please sign in to comment.