mirror of
https://github.com/rclone/rclone.git
synced 2025-08-19 01:46:31 +02:00
Error strings should not be capitalized
Reported by staticcheck 2022.1.2 (v0.3.2) See: staticcheck.io
This commit is contained in:
@@ -20,7 +20,7 @@ func (x *FileMode) String() string {
|
||||
func (x *FileMode) Set(s string) error {
|
||||
i, err := strconv.ParseInt(s, 8, 64)
|
||||
if err != nil {
|
||||
return fmt.Errorf("Bad FileMode - must be octal digits: %w", err)
|
||||
return fmt.Errorf("bad FileMode - must be octal digits: %w", err)
|
||||
}
|
||||
*x.Mode = (os.FileMode)(i)
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user