mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 20:17:03 +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