From 021300d29473dee2ad229384d22a521c0e5c14aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <git@minelli.me>
Date: Wed, 27 Mar 2024 22:10:43 +0100
Subject: [PATCH] Lint => Update eslint

---
 helpers/LazyVal.ts                                 | 2 +-
 helpers/recursiveFilesStats/RecursiveFilesStats.ts | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/helpers/LazyVal.ts b/helpers/LazyVal.ts
index a06ba8b..90c7217 100644
--- a/helpers/LazyVal.ts
+++ b/helpers/LazyVal.ts
@@ -9,7 +9,7 @@ class LazyVal<T> {
     get value(): Promise<T> {
         return new Promise<T>(resolve => {
             if ( this.val === undefined ) {
-                Promise.resolve(this.valLoader()).then((value: T) => {
+                void Promise.resolve(this.valLoader()).then((value: T) => {
                     this.val = value;
                     resolve(value);
                 });
diff --git a/helpers/recursiveFilesStats/RecursiveFilesStats.ts b/helpers/recursiveFilesStats/RecursiveFilesStats.ts
index a71bffd..e931738 100644
--- a/helpers/recursiveFilesStats/RecursiveFilesStats.ts
+++ b/helpers/recursiveFilesStats/RecursiveFilesStats.ts
@@ -75,9 +75,9 @@ class RecursiveFilesStats {
 
         if ( callback ) {
             fileDir.forEach(item => {
-                this.getStat(item.path, absoluteBasePath, options).then(stat => {
+                void this.getStat(item.path, absoluteBasePath, options).then(stat => {
                     if ( stat.isDirectory!() ) {
-                        this.getFiles(absoluteBasePath, item.path, options, [], callback).then();
+                        void this.getFiles(absoluteBasePath, item.path, options, [], callback).then();
                     }
                     callback(item.path, stat);
                 });
-- 
GitLab