mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +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
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue