From f88bfebe02efa09bef07ecd69a7db8bd5d9a27b1 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Fri, 19 Aug 2022 21:21:58 +0200 Subject: [PATCH] Fixed typescript lint issues --- server/src/app.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/app.ts b/server/src/app.ts index 6c93aa5..f04ba6b 100644 --- a/server/src/app.ts +++ b/server/src/app.ts @@ -122,11 +122,11 @@ export class DeemixApp { const latestVersionObj: any = this.parseVersion(this.latestVersion) if (currentVersionObj === null || latestVersionObj === null) return false if (latestVersionObj.year > currentVersionObj.year) return true - let sameDate = latestVersionObj.year == currentVersionObj.year + let sameDate = latestVersionObj.year === currentVersionObj.year if (sameDate && latestVersionObj.month > currentVersionObj.month) return true - sameDate = sameDate && latestVersionObj.month == currentVersionObj.month + sameDate = sameDate && latestVersionObj.month === currentVersionObj.month if (sameDate && latestVersionObj.day > currentVersionObj.day) return true - sameDate = sameDate && latestVersionObj.day == currentVersionObj.day + sameDate = sameDate && latestVersionObj.day === currentVersionObj.day if (sameDate && latestVersionObj.revision > currentVersionObj.revision) return true if ( latestVersionObj.revision === currentVersionObj.revision &&