@pnp/cli-microsoft365 6.3.0-beta.80fcd21 → 6.3.0-beta.81acafe

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.
Files changed (2) hide show
  1. package/dist/cli/Cli.js +12 -1
  2. package/package.json +1 -1
package/dist/cli/Cli.js CHANGED
@@ -783,7 +783,18 @@ class Cli {
783
783
  static prompt(options) {
784
784
  return __awaiter(this, void 0, void 0, function* () {
785
785
  const inquirer = require('inquirer');
786
- return yield inquirer.prompt(options);
786
+ const spinnerSpinning = Cli.getInstance().spinner.isSpinning;
787
+ /* c8 ignore next 3 */
788
+ if (spinnerSpinning) {
789
+ Cli.getInstance().spinner.stop();
790
+ }
791
+ const response = yield inquirer.prompt(options);
792
+ // Restart the spinner if it was running before the prompt
793
+ /* c8 ignore next 3 */
794
+ if (spinnerSpinning) {
795
+ Cli.getInstance().spinner.start();
796
+ }
797
+ return response;
787
798
  });
788
799
  }
789
800
  static removeShortOptions(args) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "6.3.0-beta.80fcd21",
3
+ "version": "6.3.0-beta.81acafe",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",