internal/git/remote.go
Function GetRemote
has 6 return statements (exceeds 4 allowed). Open
Open
func GetRemote(fromGitRepositoryAt string, remoteNameMatcher ...string) (*Remote, error) {
// validation checks
gitPath := path.Join(fromGitRepositoryAt, "/.git")
fileInfo, err := os.Lstat(gitPath)
if err != nil {