From 87272f9aa0ef2fe977a3eb6d2aabefdcc286336b Mon Sep 17 00:00:00 2001 From: Enstrayed <48845980+Enstrayed@users.noreply.github.com> Date: Thu, 11 Apr 2024 01:35:35 -0700 Subject: [PATCH] Forgot to specify the position in the array to use lol --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b5c007e..831794d 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ function criticalFileLoader(file) { } const globalConfig = JSON.parse(criticalFileLoader('config.json')) -const globalVersion = criticalFileLoader('GITVERSION').split(" ") +const globalVersion = criticalFileLoader('GITVERSION').split(" ")[0] module.exports = { app, globalConfig, fs } // Export express app and fs objects and globalconfig