Skip to content

Commit

Permalink
Merge b198795 into dfce504
Browse files Browse the repository at this point in the history
  • Loading branch information
chulkilee committed Feb 25, 2015
2 parents dfce504 + b198795 commit b92f0c4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* Module dependencies.
*/

var debug = require('debug')('finalhandler')
var escapeHtml = require('escape-html')
var http = require('http')
var onFinished = require('on-finished')
Expand Down Expand Up @@ -53,7 +52,6 @@ function finalhandler(req, res, options) {

// ignore 404 on in-flight response
if (!err && res._header) {
debug('cannot 404 after headers sent')
return
}

Expand Down Expand Up @@ -81,8 +79,6 @@ function finalhandler(req, res, options) {
msg = 'Cannot ' + escapeHtml(req.method) + ' ' + escapeHtml(req.originalUrl || req.url) + '\n'
}

debug('default %s', res.statusCode)

// schedule onerror callback
if (err && onerror) {
defer(onerror, err, req, res)
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"license": "MIT",
"repository": "pillarjs/finalhandler",
"dependencies": {
"debug": "~2.1.1",
"escape-html": "1.0.1",
"on-finished": "~2.2.0"
},
Expand Down

0 comments on commit b92f0c4

Please sign in to comment.