mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix discovery of the .clang-format file (issue #2171)
This commit is contained in:
@ -124,7 +124,7 @@ def update_file(file, newcontents):
|
||||
|
||||
# Apply clang-format for C/C++ files.
|
||||
if os.path.splitext(file)[1][1:] in ('cc', 'cpp', 'h'):
|
||||
result = clang_format(newcontents)
|
||||
result = clang_format(file, newcontents)
|
||||
if result != None:
|
||||
newcontents = result
|
||||
else:
|
||||
|
Reference in New Issue
Block a user