update inquirer to v9.x for better windows support

This commit is contained in:
Brian Madison
2025-12-22 18:18:16 +08:00
parent da21790531
commit 021936eaa9
783 changed files with 13034 additions and 413 deletions

View File

@@ -1,5 +1,5 @@
const chalk = require('chalk');
const inquirer = require('inquirer');
const inquirer = require('inquirer').default || require('inquirer');
const path = require('node:path');
const os = require('node:os');
const fs = require('fs-extra');
@@ -18,7 +18,7 @@ class UI {
CLIUtils.displayLogo();
// Display changelog link
console.log(chalk.cyan('\n📋 Read the latest updates: https://github.com/bmad-code-org/BMAD-METHOD/blob/main/CHANGELOG.md\n'));
console.log(chalk.cyan('\nRead the latest updates: https://github.com/bmad-code-org/BMAD-METHOD/blob/main/CHANGELOG.md\n'));
const confirmedDirectory = await this.getConfirmedDirectory();