mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 19:11:25 +01:00
fix: address verified review findings (issues-1)
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
16 files changed
+225
-27
No files matched your search
@@ -47,6 +47,7 @@ func run(ctx context.Context, deps app.Dependencies, args []string) int {
|
||||
fmt.Fprintln(deps.Streams.ErrOut, "Canceled.")
|
||||
reportDraft(deps, err)
|
||||
default:
|
||||
// Errors quote names the server supplied, which may carry terminal escapes.
|
||||
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