Error strings should not be capitalized
Reported by staticcheck 2022.1.2 (v0.3.2) See: staticcheck.io
This commit is contained in:
parent
027746ef6e
commit
fdd2f8e6d2
65 changed files with 159 additions and 159 deletions
|
@ -122,7 +122,7 @@ func newListJSON(ctx context.Context, fsrc fs.Fs, remote string, opt *ListJSONOp
|
|||
return nil, fmt.Errorf("ListJSON failed to load config for crypt remote: %w", err)
|
||||
}
|
||||
if fsInfo.Name != "crypt" {
|
||||
return nil, errors.New("The remote needs to be of type \"crypt\"")
|
||||
return nil, errors.New("the remote needs to be of type \"crypt\"")
|
||||
}
|
||||
lj.cipher, err = crypt.NewCipher(config)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue