summaryrefslogtreecommitdiffstats
path: root/utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'utils.go')
-rw-r--r--utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.go b/utils.go
index 0ca6471..393ee2a 100644
--- a/utils.go
+++ b/utils.go
@@ -150,5 +150,5 @@ func Confirm(question string) bool {
// compareID Compare an ID to a reference ID
func compareID(refID, ID string) bool {
- return refID != "" && ID != "" && strings.Contains(refID, ID)
+ return refID != "" && ID != "" && strings.HasPrefix(refID, ID)
}