Skip to content

Commit

Permalink
fix: always output even if in dry-run
Browse files Browse the repository at this point in the history
  • Loading branch information
lentidas committed Jul 14, 2023
1 parent 3c7ac47 commit 5475c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm_dependency_bumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def update_asciidoc_attributes(path: str, old_chart_dict: dict, new_chart_dict:
# Create the file containing the outputs if demanded by the user.
# Although it would be simpler to just use an environment variable to output this single output, the approach
# using an output file should be more scalable.
if not args.dry_run and args.output:
if args.output:
output_path = str(Path(args.output).absolute())
try:
with open(output_path, "w") as output_file:
Expand Down

0 comments on commit 5475c56

Please sign in to comment.