From fc24620e3ae3bb4ceb66df42cec1f838db13fcf0 Mon Sep 17 00:00:00 2001 From: David Murdoch Date: Fri, 1 Apr 2022 16:28:19 -0400 Subject: [PATCH] docs: fix example in README Co-authored-by: Matthieu --- src/packages/ganache/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/ganache/README.md b/src/packages/ganache/README.md index 815c908a1e..fe7df9398f 100644 --- a/src/packages/ganache/README.md +++ b/src/packages/ganache/README.md @@ -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}...`);