aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--beku.go3
-rw-r--r--env.go2
2 files changed, 3 insertions, 2 deletions
diff --git a/beku.go b/beku.go
index ea3f929..2cb6514 100644
--- a/beku.go
+++ b/beku.go
@@ -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'
diff --git a/env.go b/env.go
index bdd57f1..727ebb0 100644
--- a/env.go
+++ b/env.go
@@ -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
}