style(minor): consistently use whitespace for legibility
This commit is contained in:
parent
f54de154a2
commit
023e7af0ba
1 changed files with 2 additions and 0 deletions
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue