Browse Source

fix patch output filename (#12742)

Shelley Vohr 7 years ago
parent
commit
ee2c3607ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      script/run-clang-format.py

+ 1 - 1
script/run-clang-format.py

@@ -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):