diff options
| -rw-r--r-- | beku.go | 3 | ||||
| -rw-r--r-- | env.go | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -29,9 +29,10 @@ const ( envDEBUG = "BEKU_DEBUG" envPATH = "PATH" + msgCleanDir = "Clean destination directory?" + msgContinue = "Continue?" msgUpdateProceed = "Proceed with update?" msgUpdateView = "View commit logs?" - msgContinue = "Continue?" prefixTag = 'v' @@ -960,7 +960,7 @@ func (env *Env) install(pkg *Package) (ok bool, err error) { if !IsDirEmpty(pkg.FullPath) { fmt.Printf(">>> Directory %s is not empty.\n", pkg.FullPath) if !env.NoConfirm { - ok = confirm(os.Stdin, msgContinue, false) + ok = confirm(os.Stdin, msgCleanDir, false) if !ok { return } |
