move return outside of switch for go 1.0 / travis

This commit is contained in:
Jesse Ezell 2014-02-28 11:08:15 -08:00
parent d6332f9526
commit 127643eb54
1 changed files with 1 additions and 2 deletions

View File

@ -98,9 +98,8 @@ func (b *Branch) IsHead() (bool, error) {
return true, nil
case 0:
return false, nil
default:
return false, MakeGitError(ret)
}
return false, MakeGitError(ret)
}