From b2ce7c9aa67bca8f0816c12d06a8a5246e75cedf Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Sun, 21 Aug 2022 20:00:30 +0200 Subject: [PATCH] hidrive: error strings should not be capitalized --- backend/hidrive/hidrive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/hidrive/hidrive.go b/backend/hidrive/hidrive.go index bf6637fca..500e6f7cf 100644 --- a/backend/hidrive/hidrive.go +++ b/backend/hidrive/hidrive.go @@ -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") } }