Skip to content

Commit cdf94db

Browse files
committed
Remove typo
1 parent 2be63d6 commit cdf94db

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

npm-packages/cli/source/components/commands/publish.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,7 @@ export default function Publish({cli}: {cli: Result<Flags>}) {
7373
const blob = new Blob([buffer], {
7474
type: 'application/zip',
7575
});
76-
const file = new File([blob], 'dist.zip', {
77-
type: 'application/zip',
78-
});
79-
formData.append('file', file, 'dist.zip');
76+
formData.append('file', blob, 'dist.zip');
8077

8178
// Send the file to the server
8279
const res = await fetch(

0 commit comments

Comments
 (0)