mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Format support/hololens/
This commit is contained in:
parent
70823e3032
commit
36c1669215
5 changed files with 26 additions and 25 deletions
|
@ -810,7 +810,7 @@ def setup_clangfmt(all_files):
|
|||
return False, None, None
|
||||
gitcmd = ['git', 'ls-files']
|
||||
if not all_files:
|
||||
gitcmd.append('-m')
|
||||
gitcmd.append('-m')
|
||||
gitfiles = subprocess.check_output(gitcmd + CLANGFMT_CPP_DIRS).splitlines()
|
||||
filtered = [line for line in gitfiles if line.endswith(".h") or line.endswith(".cpp")]
|
||||
return True, cmd, filtered
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue