usf-cli 1.2.7 → 1.2.8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "usf-cli",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "usf-cli helps uos stateless function developers with local running, boosting their development efficiency.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -186,6 +186,10 @@ const createScf = async function (auth, entries) {
186
186
  };
187
187
 
188
188
  const loadingAnimation = function (loadingLabel) {
189
+ if (!process.stdout.isTTY) {
190
+ console.log(`${loadingLabel}...`);
191
+ return setInterval(() => {}, 1000); // Return a dummy interval to keep stepWrapper happy
192
+ }
189
193
  const frames = ["-", "\\", "|", "/"];
190
194
  let i = 0;
191
195