Skip to content

Commit c511e96

Browse files
theotherjimmy0xc0170
authored andcommitted
Add missing collect_include passing
1 parent abe3553 commit c511e96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/toolchains/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,8 @@ def _add_dir(self, path, resources, base_path, exclude_paths=None):
692692
# Recursively scan features but ignore them in the current scan.
693693
# These are dynamically added by the config system if the conditions are matched
694694
def closure (dir_path=dir_path, base_path=base_path):
695-
return self.scan_resources(dir_path, base_path=base_path)
695+
return self.scan_resources(dir_path, base_path=base_path,
696+
collect_ignores=resources.collect_ignores)
696697
resources.features.add_lazy(d[8:], closure)
697698
resources.ignore_dir(dir_path)
698699
dirs.remove(d)

0 commit comments

Comments
 (0)