From 743662152a77e4082a2b8070d1fb253f1ce27b3c Mon Sep 17 00:00:00 2001 From: BetaHuhn Date: Wed, 2 Feb 2022 19:47:09 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20Rebuild=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 78a12837..a0bb1137 100644 --- a/dist/index.js +++ b/dist/index.js @@ -17829,8 +17829,8 @@ const copy = async (src, dest, deleteOrphaned, exclude) => { // If it is a directory and deleteOrphaned is enabled - check if there are any files that were removed from source dir and remove them in destination dir if (deleteOrphaned) { - const srcFileList = await readfiles(src, { readContents: false }) - const destFileList = await readfiles(dest, { readContents: false }) + const srcFileList = await readfiles(src, { readContents: false, hidden: true }) + const destFileList = await readfiles(dest, { readContents: false, hidden: true }) for (const file of destFileList) { if (srcFileList.indexOf(file) === -1) {