mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
Update __init__.py (#2593)
found an issue when doing `dvc cache dir`. Should end with os separator
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
711dc2ea9a
commit
69195fdbfd
@@ -164,7 +164,7 @@ class Repo(object):
|
||||
+ updater.lock.files
|
||||
)
|
||||
|
||||
if self.cache.local.cache_dir.startswith(self.root_dir):
|
||||
if self.cache.local.cache_dir.startswith(self.root_dir + os.sep):
|
||||
flist += [self.cache.local.cache_dir]
|
||||
|
||||
self.scm.ignore_list(flist)
|
||||
|
||||
Reference in New Issue
Block a user