diff --git a/dist/index.js b/dist/index.js index a0bb1137..abfe80b1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -17832,6 +17832,9 @@ const copy = async (src, dest, deleteOrphaned, exclude) => { const srcFileList = await readfiles(src, { readContents: false, hidden: true }) const destFileList = await readfiles(dest, { readContents: false, hidden: true }) + core.debug(srcFileList) + core.debug(destFileList) + for (const file of destFileList) { if (srcFileList.indexOf(file) === -1) { const filePath = path.join(dest, file) diff --git a/src/helpers.js b/src/helpers.js index 9e0cfb4e..41e92b80 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -83,6 +83,9 @@ const copy = async (src, dest, deleteOrphaned, exclude) => { const srcFileList = await readfiles(src, { readContents: false, hidden: true }) const destFileList = await readfiles(dest, { readContents: false, hidden: true }) + core.debug(srcFileList) + core.debug(destFileList) + for (const file of destFileList) { if (srcFileList.indexOf(file) === -1) { const filePath = path.join(dest, file)