diff --git a/README.md b/README.md index 6118bc5c3f2..117c5b1ccb9 100644 --- a/README.md +++ b/README.md @@ -212,7 +212,7 @@ const plus = google.plus({ async function main() { const res = await plus.people.get({ userId: 'me' }); console.log(`Hello ${res.data.displayName}!`); -}); +}; main().catch(console.error); ```