From a13ae6fc956bc7584a89591972549b902f6849c8 Mon Sep 17 00:00:00 2001 From: Tejas Manohar Date: Sun, 11 Oct 2015 17:43:45 -0500 Subject: [PATCH] use template strings in readme es6 --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 229b57c..9c3526a 100644 --- a/Readme.md +++ b/Readme.md @@ -53,7 +53,7 @@ app.use(function *(next){ const start = new Date; yield next; const ms = new Date - start; - console.log('%s %s - %s', this.method, this.url, ms); + console.log(`${this.method} ${this.url} - ${ms}`); }); // response