[call-me] - fix prettier lint
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
semi: true,
|
semi: true,
|
||||||
trailingComma: 'all',
|
trailingComma: 'es5', // Trailing commas only where valid in ES5 (objects, arrays, not function arguments).
|
||||||
singleQuote: true,
|
singleQuote: true,
|
||||||
printWidth: 120,
|
printWidth: 120,
|
||||||
tabWidth: 4,
|
tabWidth: 4,
|
||||||
|
|||||||
+4
-4
@@ -31,7 +31,7 @@ module.exports = class Logs {
|
|||||||
console.debug(
|
console.debug(
|
||||||
'[' + this.getDateTime() + '] [' + this.appName + '] ' + msg,
|
'[' + this.getDateTime() + '] [' + this.appName + '] ' + msg,
|
||||||
util.inspect(op, options),
|
util.inspect(op, options),
|
||||||
this.timeElapsedMs,
|
this.timeElapsedMs
|
||||||
);
|
);
|
||||||
this.timeStart = Date.now();
|
this.timeStart = Date.now();
|
||||||
}
|
}
|
||||||
@@ -44,21 +44,21 @@ module.exports = class Logs {
|
|||||||
info(msg, op = '') {
|
info(msg, op = '') {
|
||||||
console.info(
|
console.info(
|
||||||
'[' + this.getDateTime() + '] [' + this.appName + '] ' + colors.green(msg),
|
'[' + this.getDateTime() + '] [' + this.appName + '] ' + colors.green(msg),
|
||||||
util.inspect(op, options),
|
util.inspect(op, options)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
warn(msg, op = '') {
|
warn(msg, op = '') {
|
||||||
console.info(
|
console.info(
|
||||||
'[' + this.getDateTime() + '] [' + this.appName + '] ' + colors.yellow(msg),
|
'[' + this.getDateTime() + '] [' + this.appName + '] ' + colors.yellow(msg),
|
||||||
util.inspect(op, options),
|
util.inspect(op, options)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
error(msg, op = '') {
|
error(msg, op = '') {
|
||||||
console.info(
|
console.info(
|
||||||
'[' + this.getDateTime() + '] [' + this.appName + '] ' + colors.red(msg),
|
'[' + this.getDateTime() + '] [' + this.appName + '] ' + colors.red(msg),
|
||||||
util.inspect(op, options),
|
util.inspect(op, options)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "call-me",
|
"name": "call-me",
|
||||||
"version": "1.0.85",
|
"version": "1.0.86",
|
||||||
"description": "Your Go-To for Instant Video Calls",
|
"description": "Your Go-To for Instant Video Calls",
|
||||||
"author": "Miroslav Pejic - miroslav.pejic.85@gmail.com",
|
"author": "Miroslav Pejic - miroslav.pejic.85@gmail.com",
|
||||||
"license": "AGPLv3",
|
"license": "AGPLv3",
|
||||||
|
|||||||
Reference in New Issue
Block a user