Comparing version 1.0.1 to 1.0.2
@@ -24,7 +24,6 @@ | ||
if (method != this.method) { | ||
yield next; | ||
return; | ||
} | ||
// method | ||
if (method != this.method) return yield next; | ||
// path | ||
if (m = re.exec(this.path)) { | ||
@@ -34,4 +33,6 @@ var args = m.slice(1); | ||
yield fn.apply(this, args); | ||
return; | ||
} | ||
// miss | ||
yield next; | ||
@@ -38,0 +39,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"repository": "koajs/route", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "koa", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2131
30