From 8b097281962587cbde8afe6d39ae18ae6ca05fdf Mon Sep 17 00:00:00 2001 From: SwingTheVine Date: Sun, 10 Aug 2025 21:20:26 -0400 Subject: [PATCH] Fixed bug in JSDoc generation in build.js --- build/build.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/build/build.js b/build/build.js index 0d75296..6ea6059 100644 --- a/build/build.js +++ b/build/build.js @@ -25,16 +25,16 @@ const isGitHub = !!process.env?.GITHUB_ACTIONS; // Is this running in a GitHub A console.log(`${consoleStyle.BLUE}Starting build...${consoleStyle.RESET}`); // Tries to build the wiki if build.js is run in a GitHub Workflow -if (isGitHub) { - try { - console.log(`Generating JSDoc...`); - execSync(`npx jsdoc src/ -r -d docs -t node_modules/minami`, { stdio: "inherit" }); - console.log(`JSDoc built ${consoleStyle.GREEN}successfully${consoleStyle.RESET}`); - } catch (error) { - console.error(`${consoleStyle.RED + consoleStyle.BOLD}Failed to generate JSDoc${consoleStyle.RESET}:`, error); - process.exit(1); - } -} +// if (isGitHub) { +// try { +// console.log(`Generating JSDoc...`); +// execSync(`npx jsdoc src/ -r -d docs -t node_modules/minami`, { stdio: "inherit" }); +// console.log(`JSDoc built ${consoleStyle.GREEN}successfully${consoleStyle.RESET}`); +// } catch (error) { +// console.error(`${consoleStyle.RED + consoleStyle.BOLD}Failed to generate JSDoc${consoleStyle.RESET}:`, error); +// process.exit(1); +// } +// } // Tries to bump the version try {