Skip to content

Commit 9f40782

Browse files
fix: add support for symlinks
1 parent f97f314 commit 9f40782

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)