[console.js] Use const instead of let

This commit is contained in:
Christoph Diehl 2017-05-02 17:26:49 +03:00
parent b7fc059dbe
commit 9a22935f0e
1 changed files with 4 additions and 7 deletions

View File

@ -6,18 +6,15 @@ var websocket = null
var logger = (function () { // eslint-disable-line no-unused-vars var logger = (function () { // eslint-disable-line no-unused-vars
const sep = '\n/* ### NEXT TESTCASE ############################## */' const sep = '\n/* ### NEXT TESTCASE ############################## */'
const color = {
let color = {
red: '\u0033[1;31m', red: '\u0033[1;31m',
green: '\u0033[1;32m', green: '\u0033[1;32m',
clear: '\u0033[0m' clear: '\u0033[0m'
} }
if (utils.platform.isWindows) { if (utils.platform.isWindows) {
color = { color.red = ''
red: '', color.green = ''
green: '', color.clear = ''
clear: ''
}
} }
function console (msg) { function console (msg) {