From 2aed8bf7b3a03917b14336f5048c2092109f40b9 Mon Sep 17 00:00:00 2001 From: Shakeel Mohamed Date: Mon, 6 Mar 2017 09:47:30 -0800 Subject: [PATCH] Add syntax highlighting to code block in README (#42) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 39711ab3..b86447b4 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,7 @@ await pool.end() The pool should be a __long-lived object__ in your application. Generally you'll want to instantiate one pool when your app starts up and use the same instance of the pool throughout the lifetime of your application. If you are frequently creating a new pool within your code you likely don't have your pool initialization code in the correct place. Example: -``` +```js // assume this is a file in your program at ./your-app/lib/db.js // correct usage: create the pool and let it live