Skip to content

Commit

Permalink
[Meta] Debug logs & Node downgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
lexisother committed Dec 1, 2024
1 parent 01ac07f commit b49b1ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## build runner
FROM node:20.18.0-alpine AS build-runner
FROM node:20.15.1-alpine AS build-runner

# Add git and gyp deps
RUN apk add git g++ make py3-pip
Expand All @@ -24,7 +24,7 @@ COPY tsconfig.json .
RUN pnpm run build

## producation runner
FROM node:20.18.0-alpine AS prod-runner
FROM node:20.15.1-alpine AS prod-runner

# Add git and gyp deps
RUN apk add git g++ make py3-pip
Expand Down
1 change: 1 addition & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ export function getJSON<T>(endpoint: string, headers: Record<string, string>): P
data += piece;
});
res.on('end', (): void => {
console.log(data);
try {
resolve(JSON.parse(data));
} catch (e) {
Expand Down

0 comments on commit b49b1ad

Please sign in to comment.