Skip to content

Commit e61492d

Browse files
committed
fixes.
1 parent 34ff561 commit e61492d

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup Bun
2222
uses: oven-sh/setup-bun@v2
2323
with:
24-
version: latest
24+
bun-version: latest
2525

2626
- name: Install dependencies
2727
run: bun install --frozen-lockfile

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Bun
1616
uses: oven-sh/setup-bun@v2
1717
with:
18-
version: latest
18+
bun-version: latest
1919

2020
- name: Install dependencies
2121
run: bun install --frozen-lockfile

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Bun
1919
uses: oven-sh/setup-bun@v2
2020
with:
21-
version: latest
21+
bun-version: latest
2222

2323
- name: Audit dependencies
2424
run: bun audit --audit-level high

bun.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/helpers/files.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,10 @@ export async function gzipUpload(files: FileList) {
6565
data: f.buffer
6666
}))
6767
);
68-
const blob = new Blob([tar], { type: 'application/gzip' });
69-
const file = new File([blob], 'deployment.tar.gz', {
68+
const blob = new Blob([new Uint8Array(tar)], { type: 'application/gzip' });
69+
uploadFile = new File([blob], 'deployment.tar.gz', {
7070
type: 'application/gzip'
7171
});
72-
uploadFile = file;
7372
} catch (e) {
7473
addNotification({
7574
type: 'error',

0 commit comments

Comments
 (0)