From d0ed2f083385e037d8acce1f3e2cd71ac470a2fb Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 18 Dec 2023 16:38:41 -0800 Subject: [PATCH] ok. in the last run on 13.6.1, the failure was exactly as specified --- forge.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/forge.config.js b/forge.config.js index 44d4f47bb..2d50e349d 100644 --- a/forge.config.js +++ b/forge.config.js @@ -151,12 +151,11 @@ if (platform === 'darwin') { // Directory to inspect const dirPath = path.join(buildPath, 'node_modules/macos-alias/build/node_gyp_bins'); - // Check if the directory exists - if (fs.existsSync(buildPath)) { + if (fs.existsSync(dirPath)) { // List files in the directory console.log("Contents of the directory before removal: "); - const files = fs.readdirSync(path.join(buildPath)); + const files = fs.readdirSync(path.join(dirPath)); files.forEach(file => { console.log(file); }); @@ -176,6 +175,7 @@ if (platform === 'darwin') { }); } else { console.log(`Directory not found: ${dirPath}`); + } }