[console.js] Use const instead of let
This commit is contained in:
parent
de4dc71820
commit
b7fc059dbe
1 changed files with 2 additions and 2 deletions
|
@ -5,6 +5,8 @@
|
||||||
var websocket = null
|
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 ############################## */'
|
||||||
|
|
||||||
let color = {
|
let color = {
|
||||||
red: '\u0033[1;31m',
|
red: '\u0033[1;31m',
|
||||||
green: '\u0033[1;32m',
|
green: '\u0033[1;32m',
|
||||||
|
@ -18,8 +20,6 @@ var logger = (function () { // eslint-disable-line no-unused-vars
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let sep = '\n/* ### NEXT TESTCASE ############################## */'
|
|
||||||
|
|
||||||
function console (msg) {
|
function console (msg) {
|
||||||
if (websocket) {
|
if (websocket) {
|
||||||
websocket.send(msg)
|
websocket.send(msg)
|
||||||
|
|
Loading…
Reference in a new issue