Skip to content

Commit

Permalink
var to const
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmywarting committed Jan 4, 2022
1 parent f17be2a commit aae4d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const agent = require('./lib/agent.js');
* @api public
*/
module.exports = function(app) {
var obj = {};
const obj = {};

if (typeof app === 'function') {
app = http.createServer(app); // eslint-disable-line no-param-reassign
Expand Down

0 comments on commit aae4d8e

Please sign in to comment.