Remove unnecessary double printing of filename

This commit is contained in:
Anthony Sottile 2019-10-12 13:39:15 -07:00
parent 49f8b48f2e
commit 86a010b750
2 changed files with 1 additions and 9 deletions

View file

@ -120,12 +120,6 @@ def main(argv=None): # type: (Optional[Sequence[str]]) -> int
)
if contents != pretty_contents:
print(
'File {} is not pretty-formatted'.format(json_file),
file=sys.stderr,
)
sys.stderr.flush()
if args.autofix:
_autofix(json_file, pretty_contents)
else: