[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
const sep = '\n/* ### NEXT TESTCASE ############################## */'
let color = {
const color = {
red: '\u0033[1;31m',
green: '\u0033[1;32m',
clear: '\u0033[0m'
}
if (utils.platform.isWindows) {
color = {
red: '',
green: '',
clear: ''
}
color.red = ''
color.green = ''
color.clear = ''
}
function console (msg) {