From 5ede1a50e05c53c8eb686ec85eeb687faaebe63d Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Sat, 21 Jun 2025 21:29:15 +0200 Subject: [PATCH] Clean-up cli.ts --- web/src/cli.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/web/src/cli.ts b/web/src/cli.ts index b6612775..be40a9d7 100644 --- a/web/src/cli.ts +++ b/web/src/cli.ts @@ -6,13 +6,6 @@ import { VERSION } from './server/version.js'; // Source maps are only included if built with --sourcemap flag -// Suppress the SEA warning if running in SEA context -// This warning is expected and harmless - we handle external modules properly -if (!process.argv[1]) { - // In SEA context, argv[1] is undefined - process.env.NODE_NO_WARNINGS = '1'; -} - // Handle uncaught exceptions process.on('uncaughtException', (error) => { console.error('Uncaught exception:', error);