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

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