Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

Commit 30ae974

Browse files
committed
lint love
1 parent 778c77e commit 30ae974

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/simple.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ app.use(assets.middelware());
2121
app.use(assets.router());
2222

2323
// print where bundle is
24-
app.get('/', (req, res, next) => {
24+
app.get('/', (req, res) => {
2525
res.status(200).send(`JS bunde is at: ${res.locals.js}`);
26-
})
26+
});
2727

2828
// start server
2929
const server = app.listen(8080, () => {

lib/middleware.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ module.exports = class Middleware extends EventEmitter {
6363
return (req, res, next) => {
6464
res.locals[jsProp] = this.options.jsPath;
6565
next();
66-
}
66+
};
6767
}
6868

6969

0 commit comments

Comments
 (0)