Skip to content

Commit

Permalink
Fixing some lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed Oct 18, 2017
1 parent beb8085 commit 31de156
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 70 deletions.
2 changes: 1 addition & 1 deletion lib/tenso.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class Tenso {
}

all (route, fn) {
retsu.each(http.METHODS, i => this.router.use(route, fn, "all"));
retsu.each(http.METHODS, i => this.router.use(route, fn, i));

return this;
}
Expand Down
2 changes: 0 additions & 2 deletions lib/utility.js
Original file line number Diff line number Diff line change
Expand Up @@ -567,9 +567,7 @@ function bootstrap (obj) {
obj.router = woodland({
cacheSize: obj.config.cacheSize,
coerce: obj.config.coerce,
defaultHost: obj.config.default,
defaultHeaders: obj.config.headers,
hosts: Reflect.ownKeys(obj.config.hosts),
seed: obj.config.seed
});

Expand Down
125 changes: 59 additions & 66 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tenso",
"description": "Tensō is an elastic REST API gateway for node.js",
"version": "6.0.0",
"version": "5.2.3",
"homepage": "http://avoidwork.github.io/tenso",
"author": "Jason Mulligan <[email protected]>",
"repository": {
Expand Down

0 comments on commit 31de156

Please sign in to comment.