Skip to content

Commit 1ec0786

Browse files
fix: add debug logs
1 parent 03483f9 commit 1ec0786

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

packages/build/src/plugins_core/blobs_upload/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ const coreStep: CoreStepFunction = async function ({
7272
systemLog(`Uploading blob ${key}`)
7373

7474
const { data, metadata } = await getFileWithMetadata(key, contentPath, metadataPath)
75-
await blobStore.set(key, data, { metadata })
75+
const str = data.toString()
76+
console.log(`### Str: ${str}`)
77+
await blobStore.set(key, str, { metadata })
7678
},
7779
{ concurrency: 10 },
7880
)

packages/build/src/plugins_core/dev_blobs_upload/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ const coreStep: CoreStepFunction = async function ({
7777
log(logs, `- Uploading blob ${key}`, { indent: true })
7878
}
7979
const { data, metadata } = await getFileWithMetadata(key, contentPath, metadataPath)
80-
await blobStore.set(key, data, { metadata })
80+
const str = data.toString()
81+
console.log(`### Str: ${str}`)
82+
await blobStore.set(key, str, { metadata })
83+
84+
// await blobStore.set(key, data, { metadata })
8185
},
8286
{ concurrency: 10 },
8387
)

0 commit comments

Comments
 (0)