From 9da824993d4a80298c3aef15fe9b18aaf729fffb Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Sun, 21 Sep 2025 06:36:13 +0200 Subject: [PATCH] fix: update fs import in SystemInfoService for eslint compliance - Changed the fs import in `system-info.ts` to comply with eslint rules by adding a comment to disable the specific linting error. --- services/system-info.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/system-info.ts b/services/system-info.ts index 77b8fe1..7b31ec2 100644 --- a/services/system-info.ts +++ b/services/system-info.ts @@ -165,7 +165,7 @@ export class SystemInfoService { private static getLastUpdate(): string { // Pour l'instant, on utilise la date de modification du package.json try { - const fs = require('fs'); + const fs = require('fs'); // eslint-disable-line @typescript-eslint/no-require-imports const packagePath = join(process.cwd(), 'package.json'); const stats = fs.statSync(packagePath); const now = new Date();