cskit-cli 1.0.37 → 1.0.38
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/package.json +1 -1
- package/src/commands/update.js +2 -0
package/package.json
CHANGED
package/src/commands/update.js
CHANGED
|
@@ -55,6 +55,7 @@ async function updateCommand() {
|
|
|
55
55
|
}).trim();
|
|
56
56
|
|
|
57
57
|
spinner.stop();
|
|
58
|
+
process.stdout.write('\r\x1b[K'); // Clear spinner line completely
|
|
58
59
|
|
|
59
60
|
// Show version info box (after spinner completes)
|
|
60
61
|
console.log(chalk.dim(' ┌' + '─'.repeat(boxWidth) + '┐'));
|
|
@@ -98,6 +99,7 @@ async function updateCommand() {
|
|
|
98
99
|
|
|
99
100
|
} catch (error) {
|
|
100
101
|
spinner.stop();
|
|
102
|
+
process.stdout.write('\r\x1b[K'); // Clear spinner line completely
|
|
101
103
|
|
|
102
104
|
// Show error box
|
|
103
105
|
console.log(chalk.dim(' ┌' + '─'.repeat(boxWidth) + '┐'));
|