bugfix fs
This commit is contained in:
parent
db6c5f5079
commit
e3937a833f
|
@ -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 }
|
||||||
|
|
Loading…
Reference in New Issue