diff options
author | Moritz Poldrack <git@moritz.sh> | 2022-07-31 22:16:40 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-08-01 10:44:52 +0200 |
commit | aaf0a0c65673db4b94c0dc200d7394a192128da1 (patch) | |
tree | 44940936efff55b49a6d359d053f55c7ab824e4d /commands/msg/move.go | |
parent | 21dcd440f877192af128c00ca2acbabf68bb3ee3 (diff) | |
download | aerc-aaf0a0c65673db4b94c0dc200d7394a192128da1.tar.gz |
lint: apply new formatting rules
Run `make fmt`.
Signed-off-by: Moritz Poldrack <git@moritz.sh>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/msg/move.go')
-rw-r--r-- | commands/msg/move.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/commands/msg/move.go b/commands/msg/move.go index b13e94ac..2e3d4385 100644 --- a/commands/msg/move.go +++ b/commands/msg/move.go @@ -34,9 +34,7 @@ func (Move) Execute(aerc *widgets.Aerc, args []string) error { if err != nil { return err } - var ( - createParents bool - ) + var createParents bool for _, opt := range opts { switch opt.Option { case 'p': @@ -61,8 +59,8 @@ func (Move) Execute(aerc *widgets.Aerc, args []string) error { findNextNonDeleted(uids, store) joinedArgs := strings.Join(args[optind:], " ") store.Move(uids, joinedArgs, createParents, func( - msg types.WorkerMessage) { - + msg types.WorkerMessage, + ) { switch msg := msg.(type) { case *types.Done: aerc.PushStatus("Message moved to "+joinedArgs, 10*time.Second) |