Skip to content

Commit

Permalink
lint: hoist module exports
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Nov 22, 2016
1 parent dda8004 commit f14ab12
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ var ms = require('ms')
var onFinished = require('on-finished')
var onHeaders = require('on-headers')

/**
* Module exports.
*/

module.exports = timeout

/**
* Timeout:
*
Expand All @@ -27,7 +33,7 @@ var onHeaders = require('on-headers')
* @api public
*/

module.exports = function timeout (time, options) {
function timeout (time, options) {
var opts = options || {}

var delay = typeof time === 'string'
Expand Down

0 comments on commit f14ab12

Please sign in to comment.