Skip to content
This repository was archived by the owner on Mar 27, 2019. It is now read-only.

Commit cf7fe97

Browse files
committed
more strict checking for Pipfile at repo root
1 parent d346750 commit cf7fe97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

langserver/clone_workspace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __init__(self, fs: FileSystem, project_root: str,
4747
# Clone the project from the provided filesystem into the local
4848
# cache
4949
for file_path in self.fs.walk(str(self.PROJECT_ROOT)):
50-
if file_path.endswith("Pipfile"):
50+
if file_path == "/Pipfile":
5151
self.PROJECT_HAS_PIPFILE = True
5252

5353
cache_file_path = self.project_to_cache_path(file_path)

0 commit comments

Comments
 (0)