Skip to content

Commit

Permalink
Merge pull request flutter#1974 from Hixie/analyzer-skip-bogus-files
Browse files Browse the repository at this point in the history
Exclude .# files from skyanalyzer
  • Loading branch information
Hixie committed Nov 6, 2015
2 parents 88f8527 + bda87ce commit c51665b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sky/tools/skyanalyzer
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit c51665b

Please sign in to comment.