Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

hidrive: error strings should not be capitalized

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