mirror of
https://gitee.com/gitea/gitea
synced 2025-12-30 04:06:36 +08:00
#3045 fix DEPRECATED Action signature erorr
This commit is contained in:
@@ -20,7 +20,9 @@ var CmdCert = cli.Command{
|
||||
Action: runCert,
|
||||
}
|
||||
|
||||
func runCert(ctx *cli.Context) {
|
||||
func runCert(ctx *cli.Context) error {
|
||||
fmt.Println("Command cert not available, please use build tags 'cert' to rebuild.")
|
||||
os.Exit(1)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user