Skip to content

Commit

Permalink
Cleanup for #21
Browse files Browse the repository at this point in the history
  • Loading branch information
hueniverse committed Jul 4, 2016
1 parent 1ebc0fc commit fa786f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions lib/segment.js
Expand Up @@ -207,11 +207,8 @@ internals.Segment.prototype.lookup = function (path, segments, options) {
// Param

if (this._param) {
console.log(current);
console.log(this._param);
if (current ||
(this._param._edge &&
this._param._edge.segment.empty)) {
(this._param._edge && this._param._edge.segment.empty)) {

const record = internals.deeper(this._param, nextPath, remainder, [current], options);
if (record) {
Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -1,7 +1,7 @@
{
"name": "call",
"description": "HTTP Router",
"version": "3.0.1",
"version": "3.0.2",
"repository": "git://github.com/hapijs/call",
"main": "lib/index.js",
"keywords": [
Expand All @@ -16,7 +16,7 @@
"boom": "3.x.x"
},
"devDependencies": {
"code": "2.x.x",
"code": "3.x.x",
"lab": "10.x.x"
},
"scripts": {
Expand Down

0 comments on commit fa786f8

Please sign in to comment.