Skip to content

Commit

Permalink
Docs: Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nurulakbaral committed Jul 28, 2024
1 parent b9a033b commit 54bb578
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ Then, you can add the following code to your `plopfile.{js,mjs}`:
// plopfile.js

/** @param {import('plop').NodePlopAPI} plop */
default async function config(plop) {
async function config(plop) {
await plop.load('@cli-toolbox/project')
}

module.exports = config
```

Expand Down
3 changes: 2 additions & 1 deletion packages/project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ Then, you can add the following code to your `plopfile.{js,mjs}`:
// plopfile.js

/** @param {import('plop').NodePlopAPI} plop */
default async function config(plop) {
async function config(plop) {
await plop.load('@cli-toolbox/project')
}

module.exports = config
```

Expand Down

0 comments on commit 54bb578

Please sign in to comment.