Skip to content

Commit 20ed6ab

Browse files
committed
Bugfix
1 parent e9cc178 commit 20ed6ab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

github.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ func (c *GithubConfig) ListRepositories() ([]*Repository, error) {
5959
return false
6060
}
6161

62-
repoOwner = *repo.FullName[:strings.Index(*repo.FullName, "/")]
62+
repoFullName := *repo.FullName
63+
64+
repoOwner := repoFullName[:strings.Index(repoFullName, "/")]
6365
return strings.EqualFold(s, repoOwner)
6466
})
6567
if isExcluded {

0 commit comments

Comments
 (0)