mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
gc: don't prompt when for dry run
This commit is contained in:
committed by
Dave Berenbaum
parent
23d2ed3d59
commit
db870335e3
+1
-1
@@ -63,7 +63,7 @@ class CmdGC(CmdBase):
|
||||
logger.warning(msg)
|
||||
|
||||
msg = "Are you sure you want to proceed?"
|
||||
if not self.args.force and not ui.confirm(msg):
|
||||
if not self.args.dry and not self.args.force and not ui.confirm(msg):
|
||||
return 1
|
||||
|
||||
self.repo.gc(
|
||||
|
||||
Reference in New Issue
Block a user