bugfix fs

This commit is contained in:
AJ ONeal 2020-11-08 21:50:54 -07:00
parent db6c5f5079
commit e3937a833f
1 changed files with 1 additions and 2 deletions

View File

@ -223,8 +223,7 @@ function copyfs(blogdir, files) {
.then(function () { .then(function () {
// TODO allow delete? // TODO allow delete?
return forEachAsync(sources, function (source) { return forEachAsync(sources, function (source) {
return fsExtra return copyAll(
.copyAll(
safeResolve(blogdir, source), safeResolve(blogdir, source),
safeResolve(blogdir, files[source]), safeResolve(blogdir, files[source]),
{ replace: true } { replace: true }