dvc: fix prompt message while collecting used cache

This commit is contained in:
Alexander Schepanovski
2019-07-03 14:43:31 +07:00
parent bb404a3b79
commit be1d696188
+1 -1
View File
@@ -370,7 +370,7 @@ class OutputBase(object):
"Cache for files inside will be lost. "
"Would you like to continue? Use '-f' to force."
)
if not force and not prompt.confirm(msg):
if not force and not prompt.confirm(msg.format(self.path_info)):
raise DvcException(
"unable to fully collect used cache"
" without cache for directory '{}'".format(self)