mirror of
https://github.com/tiennm99/serena.git
synced 2026-08-09 16:25:11 +00:00
LS.request_parsed_file: Enable followlinks in os.walk
This commit is contained in:
+1
-1
@@ -1168,7 +1168,7 @@ class SolidLanguageServer(ABC):
|
||||
)
|
||||
raise LanguageServerException("Language Server not started")
|
||||
rel_file_paths = []
|
||||
for root, dirs, files in os.walk(self.repository_root_path):
|
||||
for root, dirs, files in os.walk(self.repository_root_path, followlinks=True):
|
||||
dirs[:] = [d for d in dirs if not self.is_ignored_path(os.path.join(root, d))]
|
||||
for file in files:
|
||||
rel_file_path = os.path.relpath(os.path.join(root, file), start=self.repository_root_path)
|
||||
|
||||
Reference in New Issue
Block a user