diff options
Diffstat (limited to 'utils.go')
-rw-r--r-- | utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) } |