Skip to content

Commit

Permalink
lint: remove unused err argument
Browse files Browse the repository at this point in the history
closes #3228
  • Loading branch information
Jianru-Lin authored and dougwilson committed Mar 5, 2017
1 parent b4550fb commit 7027b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ function restore(fn, obj) {
vals[i] = obj[props[i]];
}

return function(err){
return function () {
// restore vals
for (var i = 0; i < props.length; i++) {
obj[props[i]] = vals[i];
Expand Down

0 comments on commit 7027b37

Please sign in to comment.