fleetbo-cockpit-cli 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +2 -1
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -448,7 +448,7 @@ else {
|
|
|
448
448
|
try {
|
|
449
449
|
// Mise à jour silencieuse de la DB browserslist pour éliminer le warning "Old Data"
|
|
450
450
|
const npxExec = process.platform === 'win32' ? 'npx.cmd' : 'npx';
|
|
451
|
-
execSync(`${npxExec} update-browserslist-db@latest`, { stdio: 'ignore' });
|
|
451
|
+
execSync(`${npxExec} -y update-browserslist-db@latest`, { stdio: 'ignore' });
|
|
452
452
|
} catch (e) {
|
|
453
453
|
// Si ça échoue (pas d'internet), on continue sans bloquer le démarrage
|
|
454
454
|
}
|
|
@@ -494,6 +494,7 @@ else {
|
|
|
494
494
|
|
|
495
495
|
const npxCmd = process.platform === 'win32' ? 'npx.cmd' : 'npx';
|
|
496
496
|
uplinkProcess = spawn(npxCmd, [
|
|
497
|
+
'-y',
|
|
497
498
|
'cloudflared',
|
|
498
499
|
'tunnel',
|
|
499
500
|
'--url', `http://127.0.0.1:${PORT}`,
|