style(minor): consistently use whitespace for legibility

This commit is contained in:
Anton Strogonoff 2021-11-25 13:36:13 +01:00
parent f54de154a2
commit 023e7af0ba

View file

@ -33,6 +33,7 @@ export default async function downloadBlobFromPointer(
{ http: { request }, headers = {}, url }: DownloadBlobRequset, { http: { request }, headers = {}, url }: DownloadBlobRequset,
{ info, objectPath }: Pointer { info, objectPath }: Pointer
): Promise<Buffer> { ): Promise<Buffer> {
// Request LFS metadata // Request LFS metadata
const lfsInfoRequestData = { const lfsInfoRequestData = {
@ -58,6 +59,7 @@ export default async function downloadBlobFromPointer(
if (isValidLFSInfoResponseData(lfsInfoResponseData)) { if (isValidLFSInfoResponseData(lfsInfoResponseData)) {
// Request the actual blob // Request the actual blob
const lfsObjectDownloadURL = lfsInfoResponseData.objects[0].actions.download.href; const lfsObjectDownloadURL = lfsInfoResponseData.objects[0].actions.download.href;
const { body: lfsObjectBody } = await request({ const { body: lfsObjectBody } = await request({