Skip to content

Commit

Permalink
Fixing an erroneous attribute assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed Oct 24, 2019
1 parent c50bba0 commit 79f5b41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/woodland.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ class Woodland extends EventEmitter {
if (cached !== void 0) {
result = cached;
} else {
result = {middleware: [], params: false, pos: [], visible: 0, next: null};
result = {middleware: [], params: false, pos: [], visible: 0, last: null};
reduce(uri, this.middleware.get(all), result);

if (method !== all) {
Expand Down
2 changes: 1 addition & 1 deletion 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,6 +1,6 @@
{
"name": "woodland",
"version": "9.1.1",
"version": "9.1.2",
"description": "Lightweight HTTP/HTTP2 router with automatic `Allow` & `CORS` headers",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 79f5b41

Please sign in to comment.