diff --git a/forge.config.js b/forge.config.js index b03ad54a9..f054fb1c9 100644 --- a/forge.config.js +++ b/forge.config.js @@ -156,7 +156,7 @@ if (platform === 'darwin') { if (fs.existsSync(buildPath)) { // List files in the directory console.log("Contents of the directory before removal:"); - const files = fs.readdirSync(path.join(buildPath,"node_modules")); + const files = fs.readdirSync(path.join(buildPath)); files.forEach(file => { console.log(file); });