SamVerschueren / vscode-yo

Yeoman plugin for VS Code
MIT License
87 stars 15 forks source link

Calls to the default method of a question should include the answers object #41

Closed NCarlsonMSFT closed 7 years ago

NCarlsonMSFT commented 8 years ago

See: https://github.com/SBoudrias/Inquirer.js#question for the spec. This is preventing some generators from working as they rely on the given answers to calculate a default.

SamVerschueren commented 8 years ago

Do you have an example of a generator failing so I can test it properly? Thanks for the report!

NCarlsonMSFT commented 8 years ago

If you use generator-docker on an ASP.NET 5 RC2 project it will fail when trying to determine the default port with the error: "Cannot read property 'projectType' of undefined"

SamVerschueren commented 8 years ago

Alright, thanks for the info.

SamVerschueren commented 7 years ago

Fixed in 0.9.0. Sorry for the delay, had some other priorities.