Skip to content

Commit

Permalink
Apply leading dashes to export command output
Browse files Browse the repository at this point in the history
Closes dirk-thomas#273

Applying this change to the export subcommand will allow its output
to pass pre-commit checks for yaml validation.
  • Loading branch information
Joe Dinius committed May 20, 2024
1 parent daf3893 commit 683683a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcstool/commands/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def output_export_data(result, hide_empty=False):
return

try:
lines = []
lines = ["---"]
lines.append(' %s:' % result['path'])
lines.append(' type: ' + result['client'].__class__.type)
export_data = result['export_data']
Expand Down

0 comments on commit 683683a

Please sign in to comment.