Skip to content

Commit

Permalink
add missing explicit return type
Browse files Browse the repository at this point in the history
  • Loading branch information
jabez007 committed Dec 6, 2024
1 parent 64ac115 commit 7d2fcdd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mccann-hub/express-log-smith",
"version": "0.1.0",
"version": "0.1.1",
"exports": "./src/index.ts",
"tasks": {
"dev": "deno test --watch ./src/index.ts"
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mccann-hub/express-log-smith",
"version": "0.1.0",
"version": "0.1.1",
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion src/middlewares/dexter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ morgan.token('spanId', function (req: IRequest) {
// This method is not really needed here since
// we already told to the logger that it should
// print only error messages in test.
const defaultSkip = (req: Request) => {
const defaultSkip = (req: Request): boolean => {
if (req.url === '/ping') return true;

const env = process.env.NODE_ENV || 'development';
Expand Down

0 comments on commit 7d2fcdd

Please sign in to comment.