parent
fd4b123e88
commit
605a38759f
2 changed files with 5 additions and 5 deletions
|
@ -68,7 +68,7 @@ func parseCmd(cmd string) (string, string) {
|
|||
args = ss[1]
|
||||
verb = fmt.Sprintf("%s %s", verb, ss[0])
|
||||
}
|
||||
return verb, args
|
||||
return verb, strings.Replace(args, "'/", "'", 1)
|
||||
}
|
||||
|
||||
func In(b string, sl map[string]int) bool {
|
||||
|
@ -128,7 +128,7 @@ func runServ(k *cli.Context) {
|
|||
repoUser, err := models.GetUserByName(repoUserName)
|
||||
if err != nil {
|
||||
println("You have no right to access")
|
||||
qlog.Fatal("Get user failed", err)
|
||||
qlog.Fatalf("Get user failed: %v", err)
|
||||
}
|
||||
|
||||
// access check
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue