Skip to content

Commit b1eba45

Browse files
committed
LS.request_parsed_file: Enable followlinks in os.walk
1 parent edc5112 commit b1eba45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solidlsp/ls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ def request_parsed_files(self) -> list[str]:
11681168
)
11691169
raise LanguageServerException("Language Server not started")
11701170
rel_file_paths = []
1171-
for root, dirs, files in os.walk(self.repository_root_path):
1171+
for root, dirs, files in os.walk(self.repository_root_path, followlinks=True):
11721172
dirs[:] = [d for d in dirs if not self.is_ignored_path(os.path.join(root, d))]
11731173
for file in files:
11741174
rel_file_path = os.path.relpath(os.path.join(root, file), start=self.repository_root_path)

0 commit comments

Comments
 (0)