mirror of
https://github.com/rclone/rclone.git
synced 2025-12-12 06:24:14 +01:00
Error strings should not be capitalized
Reported by staticcheck 2022.1.2 (v0.3.2) See: staticcheck.io
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user