Skip to content

Commit

Permalink
style: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
maehr committed Jan 23, 2024
1 parent 78faa71 commit 570eecf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/compileReadme.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ Contributions welcome! Read the [CONTRIBUTING.md](https://github.com/maehr/aweso
}

function writeFile(filePath, content) {
return fs.promises.writeFile(filePath, content)
return fs.promises
.writeFile(filePath, content)
.then(() => console.log(`README.md has been created.`))
.catch((err) => console.error(`Error writing file: ${err.message}`));
}

0 comments on commit 570eecf

Please sign in to comment.