Skip to content

Commit 4cd937f

Browse files
committed
feat(optimized matcher): minors.
1 parent 5ba726c commit 4cd937f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/create-matcher.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ function matchRoute (
204204
params: Object
205205
): boolean {
206206
const m = path.match(regex)
207+
207208
if (!m) {
208209
return false
209210
} else if (!params) {

0 commit comments

Comments
 (0)