Merge pull request #2220 from Suor/gc-msg

dvc: fix prompt message while collecting used cache
This commit is contained in:
Ruslan Kuprieiev
2019-07-03 16:43:52 +03:00
committed by GitHub
+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)