Skip to content

Commit e2fc2a0

Browse files
committed
fix(connect): use let insteadof var
1 parent 6d33c42 commit e2fc2a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connect/junction.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
function isErrorHandingMiddleware(middleware) {
33
// middleware(error, text, next)
4-
var arity = middleware.length;
4+
let arity = middleware.length;
55
return arity === 3;
66
}
77
function applyMiddleware(error, text, middleware, next) {

0 commit comments

Comments
 (0)