[call-me] - fix prettier lint

This commit is contained in:
Miroslav Pejic
2025-05-31 12:19:41 +02:00
parent 96cdbea001
commit 6fd394efa5
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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",