index: use has_node instead of ls

Current code doesn't work for prefixes longer than one, which makes index cache
effectively not work and it should've used has_node from the very start anyway.
This commit is contained in:
Ruslan Kuprieiev
2023-02-20 17:45:15 +02:00
parent 6fbbbeccc5
commit cd9dd0a312
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ dependencies = [
"configobj>=5.0.6",
"distro>=1.3",
"dpath<3,>=2.0.2",
"dvc-data>=0.41.0,<0.42",
"dvc-data>=0.41.1,<0.42",
"dvc-http",
"dvc-render>=0.1.2",
"dvc-studio-client>=0.1.1",