Skip to content

Commit 888e544

Browse files
committed
fix linter
1 parent d64c412 commit 888e544

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/koa.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var koa = require('koa');
22
var app = koa();
3-
var miniprofiler = require('../lib/miniprofiler.js')
3+
var miniprofiler = require('../lib/miniprofiler.js');
44

55
app.use(miniprofiler.koa(() => {return false;}));
66

lib/middlewares/koa.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = function(f, profiler) {
2323
var id = profiler.startProfiling(this.req, enabled);
2424

2525
if (enabled) {
26-
var request = this.req
26+
var request = this.req;
2727
this.res.on('finish', function() {
2828
profiler.stopProfiling(request);
2929
});

0 commit comments

Comments
 (0)