mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
fix: address verified review findings (actions-workflows-values-1)
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
12 files changed
+268
-34
No files matched your search
@@ -14,6 +14,7 @@ import (
|
||||
|
||||
"gitea.dev/tea/internal/app"
|
||||
"gitea.dev/tea/internal/clierr"
|
||||
"gitea.dev/tea/internal/terminal"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -46,7 +47,7 @@ func run(ctx context.Context, deps app.Dependencies, args []string) int {
|
||||
fmt.Fprintln(deps.Streams.ErrOut, "Canceled.")
|
||||
reportDraft(deps, err)
|
||||
default:
|
||||
fmt.Fprintf(deps.Streams.ErrOut, "Error: %v\n", app.Explain(ctx, deps, err))
|
||||
fmt.Fprintf(deps.Streams.ErrOut, "Error: %s\n", terminal.SafeText(app.Explain(ctx, deps, err).Error()))
|
||||
}
|
||||
return code
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user