fix lint issue

This commit is contained in:
Alex Flint 2021-04-20 12:14:14 -07:00
parent a0937d1b58
commit 473453d8c8
1 changed files with 1 additions and 2 deletions

View File

@ -45,9 +45,8 @@ func cardinalityOf(t reflect.Type) (cardinality, error) {
if scalar.CanParse(t) { if scalar.CanParse(t) {
if isBoolean(t) { if isBoolean(t) {
return zero, nil return zero, nil
} else {
return one, nil
} }
return one, nil
} }
// look inside pointer types // look inside pointer types