mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-25 23:09:49 +01:00
dvc: Fix typo in check_can_commit message (#2577)
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
449f43f3cc
commit
8c1addff91
+2
-3
@@ -731,9 +731,8 @@ class Stage(object):
|
||||
msg += " and " if (changed_deps and changed_outs) else ""
|
||||
msg += "outputs {}".format(changed_outs) if changed_outs else ""
|
||||
msg += "md5" if not (changed_deps or changed_outs) else ""
|
||||
msg += " of '{}' changed. Are you sure you commit it?".format(
|
||||
self.relpath
|
||||
)
|
||||
msg += " of '{}' changed.".format(self.relpath)
|
||||
msg += "Are you sure you want to commit it?"
|
||||
if not force and not prompt.confirm(msg):
|
||||
raise StageCommitError(
|
||||
"unable to commit changed '{}'. Use `-f|--force` to "
|
||||
|
||||
Reference in New Issue
Block a user