From b4304c6b63d05d18847d1a417aad6242ff7741dd Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Wed, 5 Jun 2024 10:31:21 +0530 Subject: [PATCH] style: format source code --- src/stores/file.ts | 2 +- tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stores/file.ts b/src/stores/file.ts index 1364398..abad6eb 100644 --- a/src/stores/file.ts +++ b/src/stores/file.ts @@ -100,7 +100,7 @@ export class FileStore implements SessionStoreContract { /** * Check if the file has been expired and return null (if expired) */ - const sessionWillExpireAt = stats.mtimeMs + (string.seconds.parse(this.#age) * 1000) + const sessionWillExpireAt = stats.mtimeMs + string.seconds.parse(this.#age) * 1000 if (Date.now() > sessionWillExpireAt) { debug('file store: expired session data %s', sessionId) return null diff --git a/tsconfig.json b/tsconfig.json index 9d417c2..ad0cc44 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,6 @@ "extends": "@adonisjs/tsconfig/tsconfig.package.json", "compilerOptions": { "rootDir": "./", - "outDir": "./build", - }, + "outDir": "./build" + } }