fix: installer no longer suggests the bmad-method directory as defauly
This commit is contained in:
@@ -139,8 +139,13 @@ async function promptInstallation() {
|
|||||||
{
|
{
|
||||||
type: 'input',
|
type: 'input',
|
||||||
name: 'directory',
|
name: 'directory',
|
||||||
message: 'Where would you like to install BMAD?',
|
message: 'Enter the full path to your project directory where BMAD should be installed:',
|
||||||
default: '.bmad-core'
|
validate: (input) => {
|
||||||
|
if (!input.trim()) {
|
||||||
|
return 'Please enter a valid project path';
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
answers.directory = directory;
|
answers.directory = directory;
|
||||||
|
|||||||
Reference in New Issue
Block a user