Skip to content

Commit 31729f3

Browse files
committed
fix: formatting
1 parent 913518c commit 31729f3

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: googleapis/release-please-action@v4
1616
with:
1717
token: ${{ secrets.GITHUB_TOKEN }}
18-
release-type: node # 👈 nur das; KEIN package-name/bump-minor-pre-major
18+
release-type: node
1919

2020
publish:
2121
if: startsWith(github.ref, 'refs/tags/')

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ console.log(part1);
5555
The public API surface is automatically tracked by [API Extractor](https://api-extractor.com/).
5656
See [`etc/everybodycodes-data.api.md`](./etc/everybodycodes-data.api.md) for the latest exported types.
5757

58-
The public API is also documented through [Typedoc on GH-Pages](https://mrtimeey.github.io/everybodycodes-data/).
58+
The public API is also documented through [Typedoc on GH-Pages](https://mrtimeey.github.io/everybodycodes-data/).
5959

6060
---
6161

src/client.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ export class EverybodyCodesClient {
9797
) {
9898
const url = this.makeUrl(type, event, "quest", quest);
9999

100-
type KeyResponse = {
101-
key1?: string;
102-
key2?: string;
103-
key3?: string;
104-
};
100+
type KeyResponse = {
101+
key1?: string;
102+
key2?: string;
103+
key3?: string;
104+
};
105105

106106
const data = await http<KeyResponse>(url, { headers: this.cookieHeader() });
107107

src/helper/http.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ export async function http<T = unknown>(
1616
`HTTP ${res.status} ${res.statusText} :: ${url} :: ${body}`,
1717
);
1818
}
19-
const ct = res.headers.get("content-type") || "";
20-
if (ct.includes("application/json")) {
21-
return (await res.json()) as T;
22-
}
23-
return (await res.text()) as unknown as T;
19+
const ct = res.headers.get("content-type") || "";
20+
if (ct.includes("application/json")) {
21+
return (await res.json()) as T;
22+
}
23+
return (await res.text()) as unknown as T;
2424
}

0 commit comments

Comments
 (0)