Skip to content

Commit

Permalink
docs: fix example in README (trufflesuite#2789)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthieu <m@matthieuscarset.com>

Co-authored-by: Matthieu <m@matthieuscarset.com>
  • Loading branch information
2 people authored and MicaiahReid committed Apr 20, 2022
1 parent 3209870 commit 9815445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/ganache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const ganache = require("ganache");
const options = {};
const server = ganache.server(options);
const PORT = 8545;
server.listen(PORT, err => {
server.listen(PORT, async err => {
if (err) throw err;

console.log(`ganache listening on port ${PORT}...`);
Expand Down

0 comments on commit 9815445

Please sign in to comment.