mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Support test-tidy --faster with moved files.
This commit is contained in:
parent
c057ace251
commit
c652995d16
1 changed files with 3 additions and 0 deletions
|
@ -585,6 +585,9 @@ def collect_errors_for_files(files_to_check, checking_functions, line_checking_f
|
|||
if print_text:
|
||||
print '\rChecking files for tidiness...'
|
||||
for filename in files_to_check:
|
||||
if not os.path.exists(filename):
|
||||
continue
|
||||
|
||||
with open(filename, "r") as f:
|
||||
contents = f.read()
|
||||
for check in checking_functions:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue