Skip to content

Commit d5189e8

Browse files
committed
do not forget to add files on commit
1 parent c8201a7 commit d5189e8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

update.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ class Keycloak {
4646
const response = await fetch("https://www.keycloak.org/documentation");
4747
const body = await responseBody(response);
4848

49-
return new Version((/Documentation <span class="badge bg-primary">([^<]+)/.exec(body) ?? [])[1]);
49+
return new Version(
50+
(/Documentation <span class="badge bg-primary">([^<]+)/.exec(body) ?? [])[
51+
1
52+
],
53+
);
5054
}
5155

5256
apiUrl(version: Version): string {
@@ -536,6 +540,7 @@ class Git {
536540
}
537541

538542
async commit(options: { message: string }) {
543+
await this.gitCommand(["add", "."]);
539544
await this.gitCommand([
540545
"commit",
541546
"-a",

0 commit comments

Comments
 (0)