@squared-functions/task
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -1,2 +0,2 @@ | ||
/* @squared-functions/task/gulp 1.1.2 | ||
/* @squared-functions/task/gulp 1.1.3 | ||
https://github.com/anpham6/squared-functions */ | ||
@@ -145,3 +145,3 @@ | ||
if (!code) { | ||
Promise.all(data.items.map(uri => fs.unlink(uri).then(() => manager.delete(uri)))) | ||
index_1.default.allSettled(data.items.map(uri => fs.unlink(uri).then(() => manager.delete(uri))), ['Unable to delete file', hint], this.errors) | ||
.then(() => { | ||
@@ -167,6 +167,2 @@ fs.readdir(tempDir) | ||
}); | ||
}) | ||
.catch(err_1 => { | ||
this.writeFail(['Unable to delete files', hint], err_1, this.logType.FILE); | ||
callback(); | ||
}); | ||
@@ -173,0 +169,0 @@ } |
@@ -1,2 +0,2 @@ | ||
/* @squared-functions/task 1.1.2 | ||
/* @squared-functions/task 1.1.3 | ||
https://github.com/anpham6/squared-functions */ | ||
@@ -3,0 +3,0 @@ |
{ | ||
"name": "@squared-functions/task", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Task functions for squared-functions", | ||
@@ -18,4 +18,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"@squared-functions/module": "^1.1.2", | ||
"@squared-functions/types": "^1.1.2", | ||
"@squared-functions/module": "^1.1.3", | ||
"@squared-functions/types": "^1.1.3", | ||
"fs-extra": "^9.1.0", | ||
@@ -22,0 +22,0 @@ "which": "^2.0.2" |
10993
208