mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-08 15:28:26 +01:00
stage: don't forget to save data sources
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -367,6 +367,7 @@ class Stage(object):
|
||||
else:
|
||||
self.project.logger.info(u'Verifying data sources in \'{}\''.format(self.relpath))
|
||||
self.check_missing_outputs()
|
||||
self.save()
|
||||
|
||||
def check_missing_outputs(self):
|
||||
missing_outs = [out.rel_path for out in self.outs if not os.path.exists(out.rel_path)]
|
||||
|
||||
Reference in New Issue
Block a user