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

View file

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