mirror of
https://github.com/cupcakearmy/koa-router.git
synced 2024-12-22 08:06:27 +00:00
Small Fixes
Removed unused console logs
This commit is contained in:
parent
893515b075
commit
2b21238697
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user