Comparing version 0.0.3 to 0.0.4
13
index.js
@@ -601,2 +601,15 @@ /*jshint esnext: true */ | ||
if (!Object.keys(entries).length && stat.isDirectory()) { | ||
try { | ||
fs.rmdirSync(path); | ||
} | ||
catch (err) { | ||
lastError = err; | ||
return false; | ||
} | ||
return true; | ||
} | ||
for (entry in entries) { | ||
@@ -603,0 +616,0 @@ try { |
{ | ||
"name": "fs-cli", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Easy filesystem functions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1825044
2696