Skip to content

Commit

Permalink
lint: fix lint in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleytodd committed Mar 16, 2024
1 parent d40e4b0 commit 4835526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Route.prototype.dispatch = function dispatch (req, res, done) {
? req.method.toLowerCase()
: req.method

if (method === 'head' && !this.methods['head']) {
if (method === 'head' && !this.methods.head) {
method = 'get'
}

Expand Down

0 comments on commit 4835526

Please sign in to comment.