Skip to content

Commit 99c0a4f

Browse files
committed
maybe this helps?
1 parent 96baa0c commit 99c0a4f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Dockerfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ FROM node:22
22

33
# install chrome for puppeteer (how annoying)
44
RUN apt-get update \
5-
&& apt-get install -y wget gnupg \
6-
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
7-
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
8-
&& apt-get update \
9-
&& apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 \
10-
--no-install-recommends \
11-
&& rm -rf /var/lib/apt/lists/*
5+
&& apt-get install -y wget gnupg \
6+
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
7+
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
8+
&& apt-get update \
9+
&& apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 \
10+
--no-install-recommends \
11+
&& rm -rf /var/lib/apt/lists/*
1212

1313
WORKDIR /app
1414

@@ -17,8 +17,8 @@ COPY yarn.lock .
1717
RUN yarn install
1818
COPY . .
1919
RUN for f in ./config/*.example.json; do \
20-
cp "$f" "./config/$(basename "$f" .example.json).json"; \
21-
done
20+
cp "$f" "./config/$(basename "$f" .example.json).json"; \
21+
done
2222

2323
RUN ./schema_gen.sh
2424
RUN yarn build

app/services/Github.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Container, Service } from "../Container.js";
22
import { Octokit } from "@octokit/rest";
3-
import { createAppAuth } from "@octokit/auth-app";
3+
import { createAppAuth, StrategyOptions } from "@octokit/auth-app";
44
import config from "@/config/github.json" with { type: "json" };
55

66
export class Github extends Service {
@@ -12,7 +12,7 @@ export class Github extends Service {
1212
appId: config.appId,
1313
privateKey: config.privateKey,
1414
installationId: config.installationId,
15-
},
15+
} as StrategyOptions,
1616
});
1717
}
1818

0 commit comments

Comments
 (0)