Skip to content

Commit

Permalink
Merge pull request #992 from osborneMs/hotfix/cli-1
Browse files Browse the repository at this point in the history
filesToDelete return type changed from tuple to path
  • Loading branch information
AttilaMihaly authored Feb 3, 2023
2 parents e3877b6 + 2b933b1 commit 168f30d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ async function findFilesToDelete(outputPath, fileMap) {
.filter(([entry, absolutePath]) => {
return entry.isFile() && !generatedFiles.includes(absolutePath)
})
.map(([entry, absolutePath]) => {
return absolutePath
})
const subDirFilesToDelete =
entries
.filter(entry => entry.isDirectory())
Expand Down

0 comments on commit 168f30d

Please sign in to comment.