build: fix clang-format duplicate message (#45235)

This commit is contained in:
Shelley Vohr 2025-01-20 11:05:40 +01:00 committed by GitHub
parent 83666ddc36
commit 81d12fa452
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -369,9 +369,6 @@ def main():
patch_file.close() patch_file.close()
os.unlink(patch_file.name) os.unlink(patch_file.name)
else: else:
print(
'To patch these files, run:',
f"$ git apply {patch_file.name}", sep='\n')
filename=patch_file.name filename=patch_file.name
print(f"\nTo patch these files, run:\n$ git apply {filename}\n") print(f"\nTo patch these files, run:\n$ git apply {filename}\n")