Skip to content

Commit

Permalink
Merge branch 'master' of github.com:zippoxer/george
Browse files Browse the repository at this point in the history
  • Loading branch information
zippoxer committed Feb 16, 2019
2 parents 25f1158 + 2da3a0e commit 94d9489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion george.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (g *George) SearchSite(pattern string) (*forge.Server, *forge.Site, error)

func (g *George) compileSearchPattern(pattern string) (server, site glob.Glob, err error) {
var serverPat, sitePat string
patterns := strings.Split(pattern, ":")
patterns := strings.Split(strings.ToLower(pattern), ":")
if len(patterns) == 2 {
serverPat, sitePat = patterns[0], patterns[1]
} else {
Expand Down

0 comments on commit 94d9489

Please sign in to comment.