fix patch output filename (#12742)
This commit is contained in:
parent
21e5a2e071
commit
ee2c3607ad
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue