From ad1b292b6dec784486129299c4819da8db65089d Mon Sep 17 00:00:00 2001 From: Piper Chester Date: Thu, 17 Aug 2017 11:56:11 -0700 Subject: [PATCH] install.js: refactor to template string (#340) --- install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.js b/install.js index cf506838436..26ef3c7dd77 100644 --- a/install.js +++ b/install.js @@ -43,6 +43,6 @@ function onProgress(bytesTotal, delta) { function toMegabytes(bytes) { let mb = bytes / 1024 / 1024; - return (Math.round(mb * 10) / 10) + ' Mb'; + return `${Math.round(mb * 10) / 10} Mb`; }