Skip to content

Commit

Permalink
Fix staticcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
fasmat committed Feb 26, 2024
1 parent 74a913f commit db22fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/postcli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ func loadKey() (ed25519.PublicKey, error) {
keyPath := filepath.Join(opts.DataDir, edKeyFileName)
data, err := os.ReadFile(keyPath)
if err != nil {
return nil, fmt.Errorf("could not read private key from %s: %w\n", keyPath, err)
return nil, fmt.Errorf("could not read private key from %s: %w", keyPath, err)
}

dst := make([]byte, ed25519.PrivateKeySize)
Expand Down

0 comments on commit db22fab

Please sign in to comment.