From e3937a833fc3c2fe162e17abcea055d73fbd8b81 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 8 Nov 2020 21:50:54 -0700 Subject: [PATCH] bugfix fs --- lib/node-adapters/fsapi.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/node-adapters/fsapi.js b/lib/node-adapters/fsapi.js index ba8e1b2..8643a46 100644 --- a/lib/node-adapters/fsapi.js +++ b/lib/node-adapters/fsapi.js @@ -223,8 +223,7 @@ function copyfs(blogdir, files) { .then(function () { // TODO allow delete? return forEachAsync(sources, function (source) { - return fsExtra - .copyAll( + return copyAll( safeResolve(blogdir, source), safeResolve(blogdir, files[source]), { replace: true }