mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-27 15:17:38 +00:00
Clean-up cli.ts
This commit is contained in:
parent
c7153769a8
commit
5ede1a50e0
1 changed files with 0 additions and 7 deletions
|
|
@ -6,13 +6,6 @@ import { VERSION } from './server/version.js';
|
||||||
|
|
||||||
// Source maps are only included if built with --sourcemap flag
|
// 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
|
// Handle uncaught exceptions
|
||||||
process.on('uncaughtException', (error) => {
|
process.on('uncaughtException', (error) => {
|
||||||
console.error('Uncaught exception:', error);
|
console.error('Uncaught exception:', error);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue