mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 11:52:10 +00:00
#3045 fix DEPRECATED Action signature erorr
This commit is contained in:
parent
8a2347592d
commit
7826eae452
10 changed files with 30 additions and 18 deletions
|
@ -175,7 +175,7 @@ func newMacaron() *macaron.Macaron {
|
|||
return m
|
||||
}
|
||||
|
||||
func runWeb(ctx *cli.Context) {
|
||||
func runWeb(ctx *cli.Context) error {
|
||||
if ctx.IsSet("config") {
|
||||
setting.CustomConf = ctx.String("config")
|
||||
}
|
||||
|
@ -585,4 +585,6 @@ func runWeb(ctx *cli.Context) {
|
|||
if err != nil {
|
||||
log.Fatal(4, "Fail to start server: %v", err)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue