mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #1974 from Hixie/analyzer-skip-bogus-files
Exclude .# files from skyanalyzer
This commit is contained in:
commit
df739704ac
@ -70,10 +70,10 @@ def main():
|
||||
app_paths = []
|
||||
for root, dirs, files in os.walk(SKY_UNIT_TESTS):
|
||||
app_paths.extend(os.path.join(root, f)
|
||||
for f in files if f.endswith(".dart"))
|
||||
for f in files if f.endswith(".dart") and not '.#' in f)
|
||||
for root, dirs, files in os.walk(SKY_EXAMPLES):
|
||||
app_paths.extend(os.path.join(root, f)
|
||||
for f in files if f.endswith(".dart"))
|
||||
for f in files if f.endswith(".dart") and not '.#' in f)
|
||||
if '.pub' in dirs:
|
||||
dirs.remove('.pub')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user