Skip to content

Commit

Permalink
Update Readme (#163)
Browse files Browse the repository at this point in the history
Update the README to use `withAnswers()` instead of the now-deprecated `withPrompts()`.
  • Loading branch information
martincostello committed Jan 19, 2023
1 parent c88bf6b commit 028e982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('generator test', () => {
[.withLookups({})] // runs Environment lookups
[.withOptions({})] // passes options to the generator
[.withLocalConfig({})] // sets the generator config as soon as it is instantiated
[.withPrompts()] // simulates the prompt answers
[.withAnswers()] // simulates the prompt answers
[.build(runContext => { // instantiates Environment/Generator
[runContext.env...] // does something with the environment
[runContext.generator...] // does something with the generator
Expand Down

0 comments on commit 028e982

Please sign in to comment.