@essex/build-step-clean
Advanced tools
Comparing version 8.0.0-alpha.6 to 8.0.0-alpha.7
@@ -11,7 +11,5 @@ "use strict"; | ||
async function clean(files) { | ||
const promises = files | ||
.filter(f => !!f) | ||
.map(f => rm_1.rm(f)); | ||
const promises = files.filter(f => !!f).map(f => rm_1.rm(f)); | ||
await Promise.all(promises); | ||
} | ||
exports.clean = clean; |
{ | ||
"name": "@essex/build-step-clean", | ||
"version": "8.0.0-alpha.6", | ||
"version": "8.0.0-alpha.7", | ||
"main": "lib/index.js", | ||
@@ -18,3 +18,3 @@ "typings": "lib/index.d.ts", | ||
}, | ||
"gitHead": "81d396db71dee35ca7b8e22224cd511d484b14f7" | ||
"gitHead": "2d52185ef6b8a83e93cede1f06b1cd088c1e3c2b" | ||
} |
@@ -9,6 +9,4 @@ /*! | ||
export async function clean(files: string[]): Promise<void> { | ||
const promises: Array<Promise<void>> = files | ||
.filter(f => !!f) | ||
.map(f => rm(f!)) | ||
const promises: Array<Promise<void>> = files.filter(f => !!f).map(f => rm(f!)) | ||
await Promise.all(promises) | ||
} | ||
} |
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
3586
72