Skip to content
This repository has been archived by the owner on Dec 30, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix crash due to copy&paste error
  • Loading branch information
dominikh committed Jul 11, 2016
1 parent c810356 commit 8521b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lint.go
Expand Up @@ -425,7 +425,7 @@ func LintIfReturn(f *lint.File) {
if !ok {
return true
}
if len(ret1.Results) != 1 {
if len(ret2.Results) != 1 {
return true
}
if !f.IsBoolConst(ret2.Results[0]) {
Expand Down

0 comments on commit 8521b20

Please sign in to comment.