Skip to content

Commit f3b7e41

Browse files
authored
Update README.md
1 parent 208b298 commit f3b7e41

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,7 @@ describe('generator test', () => {
5252
[.withYoRcConfig('generator-foo.bar', { : {} })] // same as above
5353
[.commitFiles()] // commit mem-fs files to disk
5454
[.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-
})];
55+
[.onEnvironment(env => {})]; // do something with the environment
6056

6157
[await result.create('another-generator').run();] // instantiates a new RunContext at the same directory
6258
);

0 commit comments

Comments
 (0)