cleaner-node
Advanced tools
Comparing version 0.4.9 to 0.4.10
{ | ||
"name": "cleaner-node", | ||
"version": "0.4.9", | ||
"version": "0.4.10", | ||
"description": "Helpful utilities and scripts to make Node projects more legible and easier for the next developer to take over.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -57,2 +57,10 @@ const fs = require('fs'); | ||
} | ||
const emptyFolder = folderPath => { | ||
try { | ||
fsx.emptyDirSync(folderPath); | ||
} catch (ex) { | ||
return false; | ||
} | ||
return isFolder(folderPath); | ||
} | ||
@@ -217,2 +225,3 @@ // ----- CONTENTS | ||
ensureFolder, | ||
emptyFolder, | ||
@@ -219,0 +228,0 @@ fileContents, |
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
54745
1310