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

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
trop[bot] 2025-01-20 18:20:47 +01:00 committed by GitHub
parent d704a3fc5b
commit 291bbff5d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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