mirror of
https://github.com/rclone/rclone.git
synced 2024-11-28 19:24:15 +08:00
hidrive: error strings should not be capitalized
This commit is contained in:
parent
d6b46e41dd
commit
b2ce7c9aa6
|
@ -338,7 +338,7 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, e
|
||||||
return nil, fmt.Errorf("could not access root-prefix: %w", err)
|
return nil, fmt.Errorf("could not access root-prefix: %w", err)
|
||||||
}
|
}
|
||||||
if item.Type != api.HiDriveObjectTypeDirectory {
|
if item.Type != api.HiDriveObjectTypeDirectory {
|
||||||
return nil, errors.New("The root-prefix needs to point to a valid directory or be empty")
|
return nil, errors.New("the root-prefix needs to point to a valid directory or be empty")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user