Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/6259/head
Jason Stirnaman 2025-07-28 21:50:03 -05:00
parent 660170435f
commit 0fc2efc938
1 changed files with 1 additions and 3 deletions

View File

@ -118,9 +118,7 @@ async function main() {
let exitCode = 0;
let hugoStarted = false;
// Configure shutdown timeout - use environment variable or default
const HUGO_SHUTDOWN_TIMEOUT =
parseInt(process.env.HUGO_SHUTDOWN_TIMEOUT) || 3000;
// (Lines 124-126 removed; no replacement needed)
// Add this signal handler to ensure cleanup on unexpected termination
const cleanupAndExit = (code = 1) => {