Skip to content

Commit e46dc73

Browse files
committed
Only include .js files from src/languages
Ie. don't include vim *.swp files
1 parent e27735c commit e46dc73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def language_filenames(src_path, languages):
119119
Resolves dependencies and returns the list of actual language filenames
120120
'''
121121
lang_path = os.path.join(src_path, 'languages')
122-
filenames = [os.path.join(lang_path, f) for f in os.listdir(lang_path)]
122+
filenames = [os.path.join(lang_path, f) for f in os.listdir(lang_path) if f.endswith('.js')]
123123
headers = [parse_header(f) for f in filenames]
124124
infos = [(h, f) for h, f in zip(headers, filenames) if h]
125125

0 commit comments

Comments
 (0)