mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 18:17:13 +02:00
Keep recursive for the glob
This commit is contained in:
@ -153,7 +153,7 @@ def match_src_files(src_dir, src_filter=None, src_exts=None, followlinks=True):
|
||||
def _find_candidates(pattern):
|
||||
candidates = set()
|
||||
for item in glob.glob(
|
||||
os.path.join(glob.escape(src_dir), pattern), recursive=followlinks
|
||||
os.path.join(glob.escape(src_dir), pattern), recursive=True
|
||||
):
|
||||
if not os.path.isdir(item):
|
||||
_add_candidate(candidates, item, src_dir)
|
||||
|
Reference in New Issue
Block a user