fix patch output filename (#12742)

This commit is contained in:
Shelley Vohr 2018-04-27 21:43:04 -04:00 committed by GitHub
parent 21e5a2e071
commit ee2c3607ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,7 +127,7 @@ def run_clang_format_diff(args, file_name):
if proc.returncode:
raise DiffError("clang-format exited with status {}: '{}'".format(
proc.returncode, file_name), errs)
return make_diff(file, original, outs), errs
return make_diff(file_name, original, outs), errs
def bold_red(s):