[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 logger = (function () { // eslint-disable-line no-unused-vars
|
||||
const sep = '\n/* ### NEXT TESTCASE ############################## */'
|
||||
|
||||
let color = {
|
||||
red: '\u0033[1;31m',
|
||||
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) {
|
||||
if (websocket) {
|
||||
websocket.send(msg)
|
||||
|
|
Loading…
Reference in a new issue