diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2017-04-21 10:50:21 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2017-04-21 10:50:21 -0400 |
commit | b42e5752d27ff093e2fc269df85c1bf234e8dbe5 (patch) | |
tree | eb0d21b397089e0fd378f453a5adb23585637ff5 | |
parent | 02b4e777ff69a31bfb6adba63a307b7e04b6916c (diff) | |
download | mongo-b42e5752d27ff093e2fc269df85c1bf234e8dbe5.tar.gz |
SERVER-19986 clang_format.py format fix
(cherry picked from commit 462451181d36d499c6382745ca1e15eba1cd385c)
-rwxr-xr-x | buildscripts/clang_format.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/buildscripts/clang_format.py b/buildscripts/clang_format.py index 3e6f96104ed..f8a063624d6 100755 --- a/buildscripts/clang_format.py +++ b/buildscripts/clang_format.py @@ -579,10 +579,10 @@ def _format_files(clang_format, files): print("ERROR: failed to format files") sys.exit(1) -def format_func(clang_format, glob): +def format_func(clang_format): """Format files command entry point """ - files = get_files_to_check(glob) + files = get_files_to_check() _format_files(clang_format, files) @@ -609,7 +609,7 @@ def main(): elif command == "lint-patch": lint_patch(options.clang_format, args[2:]) elif command == "format": - format_func(options.clang_format, args[2:]) + format_func(options.clang_format) else: usage() else: |