We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 208b298 commit f3b7e41Copy full SHA for f3b7e41
README.md
@@ -52,11 +52,7 @@ describe('generator test', () => {
52
[.withYoRcConfig('generator-foo.bar', { : {} })] // same as above
53
[.commitFiles()] // commit mem-fs files to disk
54
[.onGenerator(gen => {})] // do something with the generator
55
- [.onEnvironment(env => {})] // do something with the environment
56
- [.build(runContext => { // instantiates Environment/Generator
57
- [runContext.env...] // does something with the environment
58
- [runContext.generator...] // does something with the generator
59
- })];
+ [.onEnvironment(env => {})]; // do something with the environment
60
61
[await result.create('another-generator').run();] // instantiates a new RunContext at the same directory
62
);
0 commit comments