From 868cb6d18cc1b2047dea824719c9212ea96a0933 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 20 Oct 2020 22:36:33 +0200 Subject: [PATCH] Variable renaming to a sensible name. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/utils/Configuration.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/Configuration.js b/src/utils/Configuration.js index cba1db2c..3227cb0c 100644 --- a/src/utils/Configuration.js +++ b/src/utils/Configuration.js @@ -2,14 +2,14 @@ const fs = require('fs'); const Utils = require('./Utils'); class Configuration { - static configurationFile; + static configuration; // Read the config file static getConfig() { - if (!Configuration.configurationFile) { - Configuration.configurationFile = JSON.parse(fs.readFileSync('./src/assets/config.json', 'utf8')); + if (!Configuration.configuration) { + Configuration.configuration = JSON.parse(fs.readFileSync('./src/assets/config.json', 'utf8')); } - return Configuration.configurationFile; + return Configuration.configuration; } static getStatisticsDisplayInterval() { -- 2.34.1