Skip to content

Commit 7e5062c

Browse files
committed
feat: run format
Signed-off-by: Jan Lauber <[email protected]>
1 parent 3402211 commit 7e5062c

File tree

4 files changed

+148
-180
lines changed

4 files changed

+148
-180
lines changed

.github/workflows/docker-release.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -39,35 +39,3 @@ jobs:
3939
push: true
4040
tags: ${{ steps.meta.outputs.tags }}
4141
labels: ${{ steps.meta.outputs.labels }}
42-
43-
streamlit:
44-
runs-on: ubuntu-latest
45-
permissions:
46-
contents: read
47-
packages: write
48-
49-
steps:
50-
- name: Checkout repository
51-
uses: actions/checkout@v4
52-
53-
- name: Log in to the Container registry
54-
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20
55-
with:
56-
registry: ${{ env.REGISTRY }}
57-
username: ${{ github.actor }}
58-
password: ${{ secrets.GITHUB_TOKEN }}
59-
60-
- name: Extract metadata (tags, labels) for Docker
61-
id: meta
62-
uses: docker/metadata-action@f7b4ed12385588c3f9bc252f0a2b520d83b52d48
63-
with:
64-
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-streamlit
65-
66-
- name: Build and push Docker image
67-
uses: docker/build-push-action@2a53c6ccda456d31fb62eedc658aae06e238b7bd
68-
with:
69-
context: ./streamlit
70-
push: true
71-
tags: ${{ steps.meta.outputs.tags }}
72-
labels: ${{ steps.meta.outputs.labels }}
73-
file: ./streamlit/Dockerfile

sk/src/app.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
// for information about these interfaces
33
// and what to do when importing types
44
declare global {
5-
namespace App {
6-
// interface Error {}
7-
// interface Locals {}
8-
// interface PageData {}
9-
// interface Platform {}
10-
}
5+
namespace App {
6+
// interface Error {}
7+
// interface Locals {}
8+
// interface PageData {}
9+
// interface Platform {}
10+
}
1111
}
1212

1313
export {};
1414

1515
declare module "exceljs" {
16-
export * from "exceljs";
17-
export default ExcelJS;
16+
export * from "exceljs";
17+
export default ExcelJS;
1818
}

sk/src/routes/app/+layout.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,12 @@
162162
const input = event.target as HTMLInputElement;
163163
if (input.files && input.files[0]) {
164164
const file = input.files[0];
165-
if (file.type === 'application/pdf' || file.type.startsWith('image/')) {
165+
if (file.type === "application/pdf" || file.type.startsWith("image/")) {
166166
pictureFile = file;
167167
picture = URL.createObjectURL(file);
168168
} else {
169169
toast.error("Please upload a PDF or image file.");
170-
input.value = '';
170+
input.value = "";
171171
}
172172
}
173173
}

0 commit comments

Comments
 (0)