Browse Source

convert missing name

pull/1927/head
Unknwon 9 years ago
parent
commit
2db785b3ed
  1. 2
      cmd/serve.go

2
cmd/serve.go

@ -139,7 +139,7 @@ func runServ(c *cli.Context) {
} }
verb, args := parseCmd(cmd) verb, args := parseCmd(cmd)
repoPath := strings.Trim(args, "'") repoPath := strings.ToLower(strings.Trim(args, "'"))
rr := strings.SplitN(repoPath, "/", 2) rr := strings.SplitN(repoPath, "/", 2)
if len(rr) != 2 { if len(rr) != 2 {
fail("Invalid repository path", "Invalid repository path: %v", args) fail("Invalid repository path", "Invalid repository path: %v", args)

Loading…
Cancel
Save