mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1725404
- Only print warning about -J if '--diff' was specified, r=bhearsum
A drive-by fix I noticed. Depends on D122778 Differential Revision: https://phabricator.services.mozilla.com/D122779
This commit is contained in:
parent
b3348551e1
commit
c832a0b42a
@ -438,8 +438,10 @@ class MachCommands(MachCommandBase):
|
||||
fh = options["output_file"]
|
||||
if fh:
|
||||
fh = open(fh, "w")
|
||||
|
||||
print(out, file=fh)
|
||||
if options["format"] != "json":
|
||||
|
||||
if options["diff"] and options["format"] != "json":
|
||||
logger.info(
|
||||
"If you were expecting differences in task bodies "
|
||||
'you should pass "-J"\n'
|
||||
|
Loading…
Reference in New Issue
Block a user