mirror of
https://github.com/cupcakearmy/koa-router.git
synced 2025-09-05 15:30:39 +00:00
Small Fixes
Removed unused console logs
This commit is contained in:
@@ -151,7 +151,6 @@ function chooseFn(routes, path, method) {
|
|||||||
// If more than 1 route matches, choose the most logical fit
|
// If more than 1 route matches, choose the most logical fit
|
||||||
|
|
||||||
let testPath = ''
|
let testPath = ''
|
||||||
console.log(path)
|
|
||||||
for (let i = 0; i < path.length; ++i) {
|
for (let i = 0; i < path.length; ++i) {
|
||||||
if (candidates.size < 2)
|
if (candidates.size < 2)
|
||||||
// Only 1 route left
|
// Only 1 route left
|
||||||
|
Reference in New Issue
Block a user