Skip to content

Commit dfa4350

Browse files
Merge pull request #15 from mariobuikhuizen/symlinks
fix: add support for symlinks
2 parents f97f314 + 9f40782 commit dfa4350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyterlab-snippets/loader.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def __init__(self):
1414
def collect_snippets(self):
1515
snippets = []
1616
for root_path in self.snippet_paths:
17-
for dirpath, dirnames, filenames in os.walk(root_path):
17+
for dirpath, dirnames, filenames in os.walk(root_path, followlinks=True):
1818
for f in filenames:
1919
fullpath = PurePath(dirpath).relative_to(root_path).joinpath(f)
2020

0 commit comments

Comments
 (0)