diff options
author | Reto Brunner <reto@labrat.space> | 2021-01-30 13:51:32 +0100 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2021-01-30 14:04:23 +0100 |
commit | 8ea86cea41aa038a25a8fee9cd540a7336869dae (patch) | |
tree | 11970859b928dfa06203962b58941e889295edc0 /commands/account/rmdir.go | |
parent | 949781fa0a5f0654112b4f78558347ca991a89d3 (diff) | |
download | aerc-8ea86cea41aa038a25a8fee9cd540a7336869dae.tar.gz |
Get rid of the aerc.PushError(" " + $string) idiom
The individual callers should not be responsible for padding
Diffstat (limited to 'commands/account/rmdir.go')
-rw-r--r-- | commands/account/rmdir.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/account/rmdir.go b/commands/account/rmdir.go index ed24ca50..9cd974ff 100644 --- a/commands/account/rmdir.go +++ b/commands/account/rmdir.go @@ -86,7 +86,7 @@ func (RemoveDir) Execute(aerc *widgets.Aerc, args []string) error { case *types.Done: aerc.PushStatus("Directory removed.", 10*time.Second) case *types.Error: - aerc.PushError(" " + msg.Error.Error()) + aerc.PushError(msg.Error.Error()) case *types.Unsupported: aerc.PushError(":rmdir is not supported by the backend.") } |