Comparing version 1.0.7 to 1.0.8
@@ -41,3 +41,3 @@ const fs = require('fs'); | ||
}); | ||
if (done) return; | ||
if (done) return true; | ||
// dest exists. | ||
@@ -55,3 +55,3 @@ if (!opts.overwrite) { | ||
if (!opts.copy) await unlink(src); | ||
return; | ||
return true; | ||
} | ||
@@ -58,0 +58,0 @@ |
{ | ||
"name": "mvdir", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Move or copy files and directories. (async, recursive, across devices, copy & delete fallback, minimalistic with 0 dependencies)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
5955