mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 17:17:36 +02:00
chore: apply golangci "forbidigo" to all packages (#39151)
This commit is contained in:
1 parent
66c672d0b7
commit
b7cfa4e67e
17 files changed
+61
-54
No files matched your search
+1
-2
@@ -5,7 +5,6 @@ package cmd
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"gitea.dev/modules/private"
|
||||
"gitea.dev/modules/setting"
|
||||
@@ -49,6 +48,6 @@ func runGenerateActionsRunnerToken(ctx context.Context, c *cli.Command) error {
|
||||
if extra.HasError() {
|
||||
return handleCliResponseExtra(extra)
|
||||
}
|
||||
_, _ = fmt.Printf("%s\n", respText.Text)
|
||||
cprintln(c, respText.Text)
|
||||
return nil
|
||||
}
|
||||
Reference in new issue
Block a user