Skip to content

Commit

Permalink
Update workspace-generators.md (#10453)
Browse files Browse the repository at this point in the history
Updating what seems to be a grammatical error of "tree tree"
  • Loading branch information
Huink7 committed May 25, 2022
1 parent 014ebba commit 0c30f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/shared/generators/workspace-generators.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default async function (tree: Tree, schema: any) {
}
```

To invoke other generators, import the entry point function and run it against the tree tree. `async/await` can be used to make code with Promises read like procedural code. The generator function may return a callback function that is executed after changes to the file system have been applied.
To invoke other generators, import the entry point function and run it against the tree. `async/await` can be used to make code with Promises read like procedural code. The generator function may return a callback function that is executed after changes to the file system have been applied.

In the schema.json file for your generator, the `name` is provided as a default option. The `cli` property is set to `nx` to signal that this is a generator that uses `@nrwl/devkit` and not `@angular-devkit`.

Expand Down

1 comment on commit 0c30f08

@vercel
Copy link

@vercel vercel bot commented on 0c30f08 May 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app
nx-five.vercel.app
nx.dev

Please sign in to comment.