mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
dvc: skip unused checks in repro -f (#2245)
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
0ab55f84ba
commit
16c16d334b
+2
-2
@@ -315,7 +315,7 @@ class Stage(object):
|
||||
def reproduce(
|
||||
self, force=False, dry=False, interactive=False, no_commit=False
|
||||
):
|
||||
if not self.changed() and not force:
|
||||
if not force and not self.changed():
|
||||
return None
|
||||
|
||||
msg = (
|
||||
@@ -839,7 +839,7 @@ class Stage(object):
|
||||
)
|
||||
)
|
||||
if not dry:
|
||||
if self._already_cached() and not force:
|
||||
if not force and self._already_cached():
|
||||
self.outs[0].checkout()
|
||||
else:
|
||||
self.deps[0].download(self.outs[0], resume=resume)
|
||||
|
||||
Reference in New Issue
Block a user