style: auto-fix linting issues

This commit is contained in:
JulienMaille 2026-02-12 15:00:39 +00:00 committed by github-actions[bot]
parent 952da07230
commit 65f3676746
3 changed files with 6 additions and 7 deletions

View file

@ -48,7 +48,7 @@
// Simplified Dev Mode Detection using Neutralino's internal args
// 'neu run' adds --neu-dev-auto-reload, which we can use to detect dev environment.
const args = window.NL_ARGS || [];
const isDev = args.some(arg => arg.includes('--neu-dev-auto-reload') || arg.includes('--debug-mode'));
const isDev = args.some((arg) => arg.includes('--neu-dev-auto-reload') || arg.includes('--debug-mode'));
// Static Dev Port
const DEV_PORT = '5173';
@ -61,7 +61,7 @@
if (isDev) {
console.log(`[Shell] Dev mode detected via NL_ARGS. Waiting 2s for Vite on port ${targetPort}...`);
await new Promise(r => setTimeout(r, 2000));
await new Promise((r) => setTimeout(r, 2000));
} else {
console.log(`[Shell] Production mode detected.`);
}

View file

@ -55,7 +55,6 @@ async function run() {
restoreConfig();
process.exit(code);
});
} catch (e) {
console.error('Error running dev environment:', e);
restoreConfig();