mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-25 23:09:49 +01:00
checkout: use is_dir_cache
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+1
-1
@@ -280,7 +280,7 @@ class Output(Dependency):
|
||||
self.project.logger.debug(msg.format(self.dvc_path))
|
||||
self.remove()
|
||||
|
||||
if os.path.isfile(self.cache):
|
||||
if not self.is_dir_cache(self.cache):
|
||||
self.hardlink(self.cache, self.path)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user