From 6fd394efa5108d160ecd5d092768a6ad73c7c9bf Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Sat, 31 May 2025 12:19:41 +0200 Subject: [PATCH] [call-me] - fix prettier lint --- .prettierrc.js | 2 +- app/logs.js | 8 ++++---- package.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.prettierrc.js b/.prettierrc.js index c8c6a54..468b1e2 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -1,6 +1,6 @@ module.exports = { semi: true, - trailingComma: 'all', + trailingComma: 'es5', // Trailing commas only where valid in ES5 (objects, arrays, not function arguments). singleQuote: true, printWidth: 120, tabWidth: 4, diff --git a/app/logs.js b/app/logs.js index 787ed0b..e65f86d 100644 --- a/app/logs.js +++ b/app/logs.js @@ -31,7 +31,7 @@ module.exports = class Logs { console.debug( '[' + this.getDateTime() + '] [' + this.appName + '] ' + msg, util.inspect(op, options), - this.timeElapsedMs, + this.timeElapsedMs ); this.timeStart = Date.now(); } @@ -44,21 +44,21 @@ module.exports = class Logs { info(msg, op = '') { console.info( '[' + this.getDateTime() + '] [' + this.appName + '] ' + colors.green(msg), - util.inspect(op, options), + util.inspect(op, options) ); } warn(msg, op = '') { console.info( '[' + this.getDateTime() + '] [' + this.appName + '] ' + colors.yellow(msg), - util.inspect(op, options), + util.inspect(op, options) ); } error(msg, op = '') { console.info( '[' + this.getDateTime() + '] [' + this.appName + '] ' + colors.red(msg), - util.inspect(op, options), + util.inspect(op, options) ); } diff --git a/package.json b/package.json index cac2366..a00ad9e 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "call-me", - "version": "1.0.85", + "version": "1.0.86", "description": "Your Go-To for Instant Video Calls", "author": "Miroslav Pejic - miroslav.pejic.85@gmail.com", "license": "AGPLv3",