aboutsummaryrefslogtreecommitdiffstats
path: root/commands/account/recover.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account/recover.go')
-rw-r--r--commands/account/recover.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/account/recover.go b/commands/account/recover.go
index 7a1100e4..682a99c5 100644
--- a/commands/account/recover.go
+++ b/commands/account/recover.go
@@ -3,7 +3,7 @@ package account
import (
"bytes"
"errors"
- "io/ioutil"
+ "io"
"os"
"path/filepath"
@@ -89,7 +89,7 @@ func (Recover) Execute(aerc *widgets.Aerc, args []string) error {
return nil, err
}
defer recoverFile.Close()
- data, err := ioutil.ReadAll(recoverFile)
+ data, err := io.ReadAll(recoverFile)
if err != nil {
return nil, err
}