From ee2c3607ade8c62cead056318b89829be3cdf67b Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Fri, 27 Apr 2018 21:43:04 -0400 Subject: [PATCH] fix patch output filename (#12742) --- script/run-clang-format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/run-clang-format.py b/script/run-clang-format.py index dbfbb03cf94..8b88153946e 100644 --- a/script/run-clang-format.py +++ b/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):