We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af7448c commit f3394e7Copy full SHA for f3394e7
planemo/commands/cmd_shed_diff.py
@@ -102,7 +102,9 @@ def diff(realized_repository):
102
# Redirect a copy to user_requested_output if they did:
103
if user_requested_output is not None:
104
shutil.copy(diff_output.name, user_requested_output)
105
-
+ else:
106
+ with open(diff_output.name, "r") as f:
107
+ sys.stdout.write(f.read())
108
# Rewind to the start of the file and read it in its entirety
109
diff_output.seek(0)
110
diff_output_contents = diff_output.read()
0 commit comments