install.js: refactor to template string (#340)

This commit is contained in:
Piper Chester 2017-08-17 11:56:11 -07:00 committed by Andrey Lushnikov
parent 21aa0a2390
commit ad1b292b6d

View File

@ -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`;
}