From 2b933b1d7cafe065195c1a6e9124d0d2f37b2491 Mon Sep 17 00:00:00 2001 From: Osborne Yaw Sapaty Date: Fri, 3 Feb 2023 15:20:27 +0000 Subject: [PATCH] filesToDelete return type changed from tuple to path --- cli/cli.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/cli.js b/cli/cli.js index f04e7c2f8..e3f3818c2 100644 --- a/cli/cli.js +++ b/cli/cli.js @@ -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())