fs-jetpack
Advanced tools
Comparing version 0.13.0 to 0.13.1
@@ -0,1 +1,4 @@ | ||
# 0.13.1 (2017-03-16) | ||
- Added lacking promise rejection handler for `copyAsync()`. | ||
# 0.13.0 (2017-03-15) | ||
@@ -2,0 +5,0 @@ - **(breaking change)** Dropped support for node.js 0.10 and 0.12 |
@@ -155,3 +155,4 @@ 'use strict'; | ||
// Some parent directory doesn't exits. Create it and retry. | ||
dir.createAsync(toDirPath).then(function () { | ||
dir.createAsync(toDirPath) | ||
.then(function () { | ||
// Make retry attempt only once to prevent vicious infinite loop | ||
@@ -161,5 +162,5 @@ // (when for some obscure reason I/O will keep returning ENOENT error). | ||
copyFileAsync(from, to, mode, true) | ||
.then(resolve) | ||
.catch(reject); | ||
}); | ||
.then(resolve, reject); | ||
}) | ||
.catch(reject); | ||
} else { | ||
@@ -166,0 +167,0 @@ reject(err); |
{ | ||
"name": "fs-jetpack", | ||
"description": "Better file system API", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"author": "Jakub Szwacz <jakub@szwacz.com>", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
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
256541
7187