fleetbo-cockpit-cli 1.0.188 → 1.0.189
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 +4 -4
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -301,8 +301,8 @@ if (command === 'alex') {
|
|
|
301
301
|
|
|
302
302
|
if (partialPatchMatch && !patchMatch) {
|
|
303
303
|
console.log(`\n\x1b[31m⛔ REJECTED: Ambiguous command.\x1b[0m The platform is mandatory to avoid any Metal corruption.`);
|
|
304
|
-
console.log(`\x1b[36m
|
|
305
|
-
console.log(`\x1b[36m
|
|
304
|
+
console.log(`\x1b[36m Type:\x1b[0m patch module ${partialPatchMatch[1]} android`);
|
|
305
|
+
console.log(`\x1b[36m Or:\x1b[0m patch module ${partialPatchMatch[1]} ios`);
|
|
306
306
|
return;
|
|
307
307
|
}
|
|
308
308
|
|
|
@@ -338,7 +338,7 @@ if (command === 'alex') {
|
|
|
338
338
|
const localMockCode = fs.existsSync(mockPath) ? fs.readFileSync(mockPath, 'utf8') : null;
|
|
339
339
|
|
|
340
340
|
// Pushing to Cloud
|
|
341
|
-
process.stdout.write(`
|
|
341
|
+
process.stdout.write(` \x1b[33m[Patch Sync]\x1b[0m Pushing ${targetPlatform.toUpperCase()} modifications to Cloud OS...`);
|
|
342
342
|
try {
|
|
343
343
|
await axios.post(INJECT_DEPS_URL, {
|
|
344
344
|
projectId: projectId,
|
|
@@ -353,7 +353,7 @@ if (command === 'alex') {
|
|
|
353
353
|
}
|
|
354
354
|
});
|
|
355
355
|
process.stdout.write(` \x1b[32mOK\x1b[0m\n`);
|
|
356
|
-
console.log(`\x1b[32m
|
|
356
|
+
console.log(`\x1b[32m SUCCESS:\x1b[0m The local version of ${nativeFileName} is now the official reference in the Cloud.`);
|
|
357
357
|
} catch (err) {
|
|
358
358
|
process.stdout.write(` \x1b[31mFAILED\x1b[0m\n`);
|
|
359
359
|
console.error(` ⚠️ OS sync failed: ${err.message}`);
|