chore(lint): fix gopls govet errors

This commit is contained in:
Quentin McGaw
2024-10-11 19:14:50 +00:00
parent 81ffbaf057
commit 3daf15a612
8 changed files with 15 additions and 29 deletions

View File

@@ -27,9 +27,6 @@ func (c *CLI) ClientKey(args []string) error {
if err := file.Close(); err != nil {
return err
}
if err != nil {
return err
}
s := string(data)
s = strings.ReplaceAll(s, "\n", "")
s = strings.ReplaceAll(s, "\r", "")