Skip to content

Commit

Permalink
🚧 Debug orphaned listing
Browse files Browse the repository at this point in the history
  • Loading branch information
BetaHuhn committed Feb 2, 2022
1 parent 7436621 commit 8ee9991
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions src/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8ee9991

Please sign in to comment.