Skip to content
This repository was archived by the owner on May 17, 2019. It is now read-only.

Commit 7801acb

Browse files
committed
only walk through files in Native
1 parent de188c2 commit 7801acb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

native_package_install.py

+2
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ def find_all_native_files(path):
154154
""" recursivly find all js files in a package """
155155
native_files = []
156156
for root, dirnames, filenames in os.walk(path):
157+
if "Native" not in root:
158+
continue
157159
for filename in fnmatch.filter(filenames, '*.js'):
158160
native_files.append(os.path.join(root, filename))
159161
return native_files

0 commit comments

Comments
 (0)