mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: fix run-clang-format extension matching (#34076)
This commit is contained in:
@@ -55,8 +55,7 @@ def list_files(files, recursive=False, extensions=None, exclude=None):
|
||||
x for x in fpaths if not fnmatch.fnmatch(x, pattern)
|
||||
]
|
||||
for fp in fpaths:
|
||||
ext = os.path.splitext(f)[1][1:]
|
||||
print(ext)
|
||||
ext = os.path.splitext(fp)[1][1:]
|
||||
if ext in extensions:
|
||||
out.append(fp)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user