hidrive: error strings should not be capitalized

This commit is contained in:
albertony 2022-08-21 20:00:30 +02:00
parent d6b46e41dd
commit b2ce7c9aa6
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
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")
}
}