Skip to content

Commit c04f02b

Browse files
committed
remove fetch-blob dep
1 parent 0cc35e9 commit c04f02b

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"commander": "^13.0.0",
3131
"cross-fetch": "^3.1.5",
3232
"express": "^4.17.3",
33-
"fetch-blob": "^2.1.1",
3433
"form-urlencoded": "^6.0.6",
3534
"http-link-header": "^1.0.4",
3635
"inquirer": "^8.2.4",

src/commands/solid-copy.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -389,11 +389,6 @@ async function writeRemoteFile(resourcePath: string, fileInfo: FileInfo, fetch:
389389
if (!fileInfo.loadFile) throw new Error(`Could not load file at location: ${fileInfo.absolutePath}`)
390390
let fileData = await fileInfo.loadFile();
391391
if (fileData.buffer) {
392-
// const arrayBuffer = toArrayBuffer(fileData.buffer);
393-
// console.log('buffer', arrayBuffer, arrayBuffer.byteLength)
394-
// let blob = new Blob([fileData.buffer], {type: fileData.contentType})
395-
// console.log('blog', blob)
396-
// const body = fileData.contentType.startsWith('text/') || fileData.contentType.startsWith('application/') ? fileData.buffer.toString() : blob;
397392
let res = await fetch(
398393
resourcePath,
399394
{

0 commit comments

Comments
 (0)