fix(cmd): reuse default literal constant
This commit is contained in:
parent
c442d134a0
commit
42476087f7
@ -168,7 +168,7 @@ func resolveAccountAlias(value string) (string, bool, error) {
|
||||
|
||||
func shouldAutoSelectAccount(value string) bool {
|
||||
switch strings.ToLower(strings.TrimSpace(value)) {
|
||||
case "auto", "default":
|
||||
case "auto", eventTypeDefault:
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
|
||||
Loading…
Reference in New Issue
Block a user