diff options
-rwxr-xr-x | .custom-format.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.custom-format.py b/.custom-format.py index f9301585..428d7b0d 100755 --- a/.custom-format.py +++ b/.custom-format.py @@ -27,7 +27,7 @@ with open(".clang-format") as f: fmt = f.read() CURRENT_LLVM = os.getenv('LLVM_VERSION', 14) -CLANG_FORMAT_BIN = os.getenv("CLANG_FORMAT_BIN") +CLANG_FORMAT_BIN = os.getenv("CLANG_FORMAT_BIN", "") if shutil.which(CLANG_FORMAT_BIN) is None: CLANG_FORMAT_BIN = f"clang-format-{CURRENT_LLVM}" |