-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dvc list: Error on empty directory. #5841
Comments
We have already had a test about this. Lines 167 to 173 in 68897aa
and it was introduced from #3246 at the beginning of |
@karajan1001 is this still open? New to open source, but would love to take a stab at it |
Sorry, we had already had a PR for it (#6120) but was blocked by some refactoring. So maybe it is better to start with some other issues with |
Bug Report
Got error message on an empty directory, shouldn't it show nothing? like ls command.
Description
Error when list a empty path, strange behavior.
Might relate to
dvc/dvc/repo/ls.py
Lines 40 to 41 in daf0745
Reproduce
Expected
Show nothing like ls command
Environment information
DVC version: 2.0.17+7e4851
Platform: Python 3.8.8 on macOS-10.16-x86_64-i386-64bit
Supports: All remotes
Cache types: https://error.dvc.org/no-dvc-cache
Caches: local
Remotes: None
Workspace directory: apfs on /dev/disk3s1s1
Repo: dvc, git
Output of
dvc doctor
:$ dvc doctor
Additional Information (if any):
The text was updated successfully, but these errors were encountered: