mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-26 15:28:28 +01:00
exit with 1 if targets were not found
This commit is contained in:
@@ -195,16 +195,6 @@ class ReproductionError(DvcException):
|
||||
super(ReproductionError, self).__init__(msg, cause=ex)
|
||||
|
||||
|
||||
class BadMetricError(DvcException):
|
||||
def __init__(self, paths):
|
||||
super(BadMetricError, self).__init__(
|
||||
"the following outputs do not exist, are not a metric file "
|
||||
"or are malformed: {paths}".format(
|
||||
paths=", ".join(relpath(path) for path in paths)
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
class NoMetricsError(DvcException):
|
||||
def __init__(self):
|
||||
super(NoMetricsError, self).__init__(
|
||||
|
||||
Reference in New Issue
Block a user