Fix tsconfig wrong path
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Stamm 2021-01-11 15:24:00 +01:00
parent 325c1a4d7d
commit 53a11eccf6
2 changed files with 4 additions and 2 deletions

View File

@ -8,4 +8,4 @@ ADD tsconfig.json /app/
RUN /usr/bin/deno cache --unstable src/registry.ts
VOLUME [ "/app/data" ]
ENTRYPOINT [ "/usr/bin/deno", "run", "-A", "--unstable", "--config", "tsconfig.json", "/app/src/registry.ts" ]
ENTRYPOINT [ "/usr/bin/deno", "run", "-A", "--unstable", "--config", "/app/tsconfig.json", "/app/src/registry.ts" ]

View File

@ -49,7 +49,9 @@ async function loadComponent(name: string) {
const preLoad = ["index", "package", "browse_folder", "browse_file"];
preLoad.forEach((page) =>
loadComponent(page).catch((err) => console.error("Error preloading", page))
loadComponent(page).catch((err) =>
console.error("Error preloading", page, err)
)
);
export default async function render(