Fix ESLint issues
This commit is contained in:
parent
267d30720a
commit
5226f2549b
2 changed files with 5 additions and 5 deletions
|
@ -7,9 +7,9 @@ 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 = {
|
const color = {
|
||||||
red: '\033[1;31m',
|
red: '\033[1;31m', // eslint-disable-line
|
||||||
green: '\033[1;32m',
|
green: '\033[1;32m', // eslint-disable-line
|
||||||
clear: '\033[0m'
|
clear: '\033[0m' // eslint-disable-line
|
||||||
}
|
}
|
||||||
if (utils.platform.isWindows) {
|
if (utils.platform.isWindows) {
|
||||||
color.red = ''
|
color.red = ''
|
||||||
|
@ -49,7 +49,7 @@ var logger = (function () { // eslint-disable-line no-unused-vars
|
||||||
}
|
}
|
||||||
|
|
||||||
function JSError (msg) {
|
function JSError (msg) {
|
||||||
error(comment(msg))
|
error(comment("ERROR: " + msg))
|
||||||
}
|
}
|
||||||
|
|
||||||
function comment (msg) {
|
function comment (msg) {
|
||||||
|
|
Loading…
Reference in a new issue