Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Oct 20, 2024
1 parent 5534903 commit e7ca90b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion apps/jobs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,6 @@ USER nodejs

ENV NODE_ENV=production

CMD ["node", "apps/jobs/dist/index.js"]
WORKDIR apps/jobs/dist/

CMD ["node", "index.js"]
2 changes: 1 addition & 1 deletion apps/jobs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const runJob = async (job: string) => {
try {
await jobs[job]?.run();
logger.info(`Job ${job} completed successfully`);
} catch (error) {
} catch (error: any) {
logger.error(`Error running job ${job}: ${error.message}`, error);
}
};
Expand Down

0 comments on commit e7ca90b

Please sign in to comment.