fleetbo-cockpit-cli 1.0.8 → 1.0.9
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 -2
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -429,7 +429,7 @@ else if (command === 'android' || command === 'ios') {
|
|
|
429
429
|
console.log(` \x1b[32m✓\x1b[0m Bundle ready: ${sizeMB} MB`);
|
|
430
430
|
|
|
431
431
|
// Étape 3: Upload vers Cloud Function
|
|
432
|
-
console.log(`\n\x1b[33m[3/3]\x1b[0m Uploading to Fleetbo
|
|
432
|
+
console.log(`\n\x1b[33m[3/3]\x1b[0m Uploading to Fleetbo OS...`);
|
|
433
433
|
await showEnergyTransfer();
|
|
434
434
|
|
|
435
435
|
// 🟢 ON UTILISE UNE VARIABLE LOCALE POUR LA RÉPONSE
|
|
@@ -461,7 +461,7 @@ else if (command === 'android' || command === 'ios') {
|
|
|
461
461
|
console.log(`\x1b[32m✓ ${platform.toUpperCase()} PROPULSION SUCCESSFUL\x1b[0m`);
|
|
462
462
|
console.log(`\x1b[32m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\x1b[0m`);
|
|
463
463
|
console.log(`\x1b[90m Deployment ID: ${uploadResponse.data.deploymentId || 'N/A'}\x1b[0m`);
|
|
464
|
-
console.log(`\x1b[90m Your ${platform} bundle is now in the
|
|
464
|
+
console.log(`\x1b[90m Your ${platform} bundle is now in the OS.\x1b[0m\n`);
|
|
465
465
|
} else {
|
|
466
466
|
// Ce cas ne devrait pas arriver si le backend est bien codé (il renverrait une erreur HTTP), mais au cas où :
|
|
467
467
|
throw new Error(uploadResponse.data?.error || 'Unknown logical error from Factory');
|