mirror of
https://github.com/go-gitea/gitea
synced 2024-11-25 05:42:49 +01:00
add log
This commit is contained in:
parent
4e88ae19d1
commit
20ec459b93
1 changed files with 2 additions and 1 deletions
3
serve.go
3
serve.go
|
@ -217,6 +217,7 @@ func runServ(k *cli.Context) {
|
|||
}
|
||||
|
||||
time.Sleep(time.Second)
|
||||
log.Info(s)
|
||||
|
||||
// find push reference name
|
||||
var t = "ok refs/heads/"
|
||||
|
@ -235,7 +236,7 @@ func runServ(k *cli.Context) {
|
|||
}
|
||||
}
|
||||
if refname == "" {
|
||||
println("No find any reference name:", b.String())
|
||||
println("No find any reference name:", s)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue