mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Exclude .# files from skyanalyzer
Emacs uses these as lock files and skyanalyzer was often getting confused trying to analyze them.
This commit is contained in:
parent
1fe60d4d1e
commit
1f69f9c585
@ -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