Skip to content

Commit a11de8b

Browse files
author
Rachel Macfarlane
committed
Renomve unused vars in app.js
1 parent bc35b06 commit a11de8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ app.use(function(req, res, next) {
3939
app.use('/', index);
4040

4141
// catch 404 and forward to error handler
42-
app.use(function(req, res, next) {
42+
app.use(function(_req, _res, next) {
4343
var err = new Error('Not Found');
4444
err.status = 404;
4545
next(err);
4646
});
4747

4848
// error handler
49-
app.use(function(err, req, res, next) {
49+
app.use(function(err, req, res, _next) {
5050
// set locals, only providing error in development
5151
res.locals.message = err.message;
5252
res.locals.error = req.app.get('env') === 'development' ? err : {};

0 commit comments

Comments
 (0)