Skip to content

Commit

Permalink
Update README to reflect latest changes (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz authored Sep 23, 2024
1 parent 0a736b6 commit 9d07843
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ import { updateChangelog } from '@metamask/auto-changelog';
const oldChangelog = await fs.readFile('CHANGELOG.md', {
encoding: 'utf8',
});
const updatedChangelog = updateChangelog({
const updatedChangelog = await updateChangelog({
changelogContent: oldChangelog,
currentVersion: '1.0.0',
repoUrl: 'https://github.com/ExampleUsernameOrOrganization/ExampleRepository',
Expand All @@ -122,7 +122,7 @@ const oldChangelog = await fs.readFile('CHANGELOG.md', {
encoding: 'utf8',
});
try {
validateChangelog({
await validateChangelog({
changelogContent: oldChangelog,
currentVersion: '1.0.0',
repoUrl:
Expand All @@ -139,7 +139,7 @@ try {

### Setup

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

0 comments on commit 9d07843

Please sign in to comment.