mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-07 15:28:28 +01:00
status: don't return 1 if len(statuses) != len(targets)
Number of targets from command line doesn't have to match number of actual files that we've processed, as it may as well be a directory. Fixes #204 Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -52,9 +52,6 @@ class CmdDataStatus(CmdBase):
|
||||
with DvcLock(self.is_locker, self.git):
|
||||
status = self.cloud.status(self.parsed_args.targets, self.parsed_args.jobs)
|
||||
|
||||
if len(list(status)) != len(self.parsed_args.targets):
|
||||
return 1
|
||||
|
||||
self._show(status)
|
||||
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user