make-fetch-happen
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -62,4 +62,4 @@ 'use strict' | ||
fs.stat(info.path, (err, stat) => { | ||
if (err) { | ||
return reject(err) | ||
if (err && err !== 'ENOENT') { | ||
return resolve(err) | ||
} else { | ||
@@ -70,2 +70,3 @@ return resolve(stat) | ||
}).then(stat => { | ||
if (!stat) { return } | ||
const cachePath = this._path | ||
@@ -72,0 +73,0 @@ let disturbed = false |
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.3.1"></a> | ||
## [1.3.1](https://github.com/zkat/make-fetch-happen/compare/v1.3.0...v1.3.1) (2017-04-04) | ||
### Bug Fixes | ||
* **cache:** pretend cache entry is missing on ENOENT ([9c2bb26](https://github.com/zkat/make-fetch-happen/commit/9c2bb26)) | ||
<a name="1.3.0"></a> | ||
@@ -7,0 +17,0 @@ # [1.3.0](https://github.com/zkat/make-fetch-happen/compare/v1.2.1...v1.3.0) (2017-04-04) |
{ | ||
"name": "make-fetch-happen", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Opinionated, caching, retrying fetch client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
37661
557