Clean-up cli.ts

This commit is contained in:
Mario Zechner 2025-06-21 21:29:15 +02:00
parent c7153769a8
commit 5ede1a50e0

View file

@ -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);