Skip to content

Commit 9d07843

Browse files
authored
Update README to reflect latest changes (#205)
1 parent 0a736b6 commit 9d07843

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ import { updateChangelog } from '@metamask/auto-changelog';
101101
const oldChangelog = await fs.readFile('CHANGELOG.md', {
102102
encoding: 'utf8',
103103
});
104-
const updatedChangelog = updateChangelog({
104+
const updatedChangelog = await updateChangelog({
105105
changelogContent: oldChangelog,
106106
currentVersion: '1.0.0',
107107
repoUrl: 'https://github.com/ExampleUsernameOrOrganization/ExampleRepository',
@@ -122,7 +122,7 @@ const oldChangelog = await fs.readFile('CHANGELOG.md', {
122122
encoding: 'utf8',
123123
});
124124
try {
125-
validateChangelog({
125+
await validateChangelog({
126126
changelogContent: oldChangelog,
127127
currentVersion: '1.0.0',
128128
repoUrl:
@@ -139,7 +139,7 @@ try {
139139

140140
### Setup
141141

142-
- Install [Node.js](https://nodejs.org) version 14
142+
- Install [Node.js](https://nodejs.org) version 18
143143
- If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm use` will automatically choose the right node version for you.
144144
- Install [Yarn v3](https://yarnpkg.com/getting-started/install)
145145
- Run `yarn install` to install dependencies and run any required post-install scripts

0 commit comments

Comments
 (0)