Skip to content

Commit

Permalink
Merge pull request #151 from alexflint/fix-lint
Browse files Browse the repository at this point in the history
Fix lint issue in reflect.go
  • Loading branch information
alexflint authored Apr 20, 2021
2 parents a0937d1 + 473453d commit 4354574
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions reflect.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ func cardinalityOf(t reflect.Type) (cardinality, error) {
if scalar.CanParse(t) {
if isBoolean(t) {
return zero, nil
} else {
return one, nil
}
return one, nil
}

// look inside pointer types
Expand Down

0 comments on commit 4354574

Please sign in to comment.