Fix error in matcherEquals
This commit is contained in:
parent
25277a2605
commit
afa79e9d11
3
route.js
3
route.js
|
@ -162,8 +162,7 @@ function Routing(exports) {
|
|||
if (!(b instanceof $WildcardSequence)) return false;
|
||||
a = a.matcher;
|
||||
b = b.matcher;
|
||||
}
|
||||
if (b instanceof $WildcardSequence) return false;
|
||||
} else if (b instanceof $WildcardSequence) return false;
|
||||
|
||||
if (a instanceof $Success) {
|
||||
if (!(b instanceof $Success)) return false;
|
||||
|
|
Loading…
Reference in New Issue