@intuned/runtime-dev 1.2.0-cli.10 → 1.2.0-cli.11
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.
|
@@ -157,7 +157,9 @@ async function runDeployProject(projectName, auth) {
|
|
|
157
157
|
const startTime = Date.now();
|
|
158
158
|
const timeElapsedText = () => ((Date.now() - startTime) / (0, _ms.default)("1 second")).toFixed(1);
|
|
159
159
|
function* getSpinnerGenerator() {
|
|
160
|
-
|
|
160
|
+
while (true) {
|
|
161
|
+
yield* "⠙⠹⠸⠼⠴⠦⠧⠇";
|
|
162
|
+
}
|
|
161
163
|
}
|
|
162
164
|
const spinnerGen = getSpinnerGenerator();
|
|
163
165
|
let updateSpinnerInterval = null;
|
|
@@ -166,7 +168,7 @@ async function runDeployProject(projectName, auth) {
|
|
|
166
168
|
_terminal.terminal.previousLine(1);
|
|
167
169
|
_terminal.terminal.column(0);
|
|
168
170
|
_terminal.terminal.eraseLineAfter();
|
|
169
|
-
(0, _terminal.terminal)(`${spinnerGen.next().value}^cDeploying ^:^K(${timeElapsedText()}s)^ \n`);
|
|
171
|
+
(0, _terminal.terminal)(`${spinnerGen.next().value} ^cDeploying ^:^K(${timeElapsedText()}s)^ \n`);
|
|
170
172
|
}, 50);
|
|
171
173
|
(0, _terminal.terminal)("\n");
|
|
172
174
|
} else {
|