Comparing version 2.0.1 to 2.0.2
@@ -0,1 +1,7 @@ | ||
2.0.2 / 2015-10-23 | ||
================== | ||
* fix stats info when path does not finish with slash and format is enabled | ||
2.0.1 / 2015-10-14 | ||
@@ -2,0 +8,0 @@ ================== |
@@ -78,4 +78,5 @@ /** | ||
if (stats.isDirectory()) { | ||
if (opts.format) { | ||
if (opts.format && index) { | ||
path += '/' + index; | ||
stats = yield fs.stat(path); | ||
} else { | ||
@@ -82,0 +83,0 @@ return; |
@@ -5,3 +5,3 @@ { | ||
"repository": "koajs/send", | ||
"version": "2.0.1", | ||
"version": "2.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
8075
110