From a7629e3e8cd6a10e428e1dd2de4cca82e0e858e1 Mon Sep 17 00:00:00 2001
From: gcarron <gcarron@grandlyon.com>
Date: Tue, 23 Feb 2021 09:57:04 +0100
Subject: [PATCH] Fix security issues with nosonar

---
 scripts/createDayDataFiles.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/createDayDataFiles.js b/scripts/createDayDataFiles.js
index 8df6c4855..e90b1e3f4 100644
--- a/scripts/createDayDataFiles.js
+++ b/scripts/createDayDataFiles.js
@@ -12,7 +12,7 @@ function getRandomInt(min, max) {
   const maxValue = Math.floor(max * 100)
   // NOSONAR
   const result =
-    (Math.floor(Math.random() * (maxValue - minValue)) + minValue) / 100
+    (Math.floor(Math.random() * (maxValue - minValue)) + minValue) / 100 //NOSONAR
   return result
 }
 
-- 
GitLab