mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
repro: fix --force option
Fixes #561 Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@ class Project(object):
|
||||
return stage
|
||||
|
||||
def _reproduce_stage(self, stages, node, force):
|
||||
if not stages[node].changed():
|
||||
if not stages[node].changed() and not force:
|
||||
return []
|
||||
|
||||
stages[node].reproduce(force=force)
|
||||
|
||||
Reference in New Issue
Block a user