atendeticket 2.0.6 → 2.0.7

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": "atendeticket",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "description": "Instalador CLI para AtendeTicket",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,4 +1,4 @@
1
- const inquirer = require('inquirer');
1
+ const { default: inquirer } = require('inquirer');
2
2
 
3
3
  async function mainMenuPrompt() {
4
4
  const answers = await inquirer.prompt([
@@ -12,7 +12,7 @@ async function mainMenuPrompt() {
12
12
  ],
13
13
  },
14
14
  ]);
15
- return answers.action;
15
+ return answers;
16
16
  }
17
17
 
18
18
  module.exports = { mainMenuPrompt };