mirror of
https://github.com/on4kjm/FLEcli.git
synced 2025-01-19 05:01:18 +01:00
Clean some lint advise
This commit is contained in:
parent
c8fe301c85
commit
ee565dd24c
1 changed files with 1 additions and 2 deletions
|
@ -35,9 +35,8 @@ func ValidateCall(sign string) (call, errorMsg string) {
|
||||||
case 1:
|
case 1:
|
||||||
if validCallRegexp.MatchString(sign) {
|
if validCallRegexp.MatchString(sign) {
|
||||||
return sign, ""
|
return sign, ""
|
||||||
} else {
|
|
||||||
return wrongSign, "Invalid call"
|
|
||||||
}
|
}
|
||||||
|
return wrongSign, "Invalid call"
|
||||||
case 2:
|
case 2:
|
||||||
// some ambiguity here we need to resolve, could be a prefix or a suffix
|
// some ambiguity here we need to resolve, could be a prefix or a suffix
|
||||||
if validCallRegexp.MatchString(sp[0]) {
|
if validCallRegexp.MatchString(sp[0]) {
|
||||||
|
|
Loading…
Reference in a new issue