diff --git a/.gitignore b/.gitignore index 54bc08006..52053745f 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ bin/* *.cache node_modules/* exchange/Auth0.js -Email-Config/Email.Config.json -Execution.Config.json -User-Profile/User.Profile.json +configs/Email.Config.json + +configs/User.Profile.json +configs/Execution.Config.json diff --git a/Run.js b/Run.js index c0c86ad7c..03e0ffdfc 100644 --- a/Run.js +++ b/Run.js @@ -49,7 +49,7 @@ function readStoragePermissions() { console.log( "[INFO] Run -> readStoragePermissions -> Entering function. "); let fs = require('fs'); - filePath = './' + 'User-Profile' + '/' + 'User.Profile.json'; + filePath = './' + 'configs' + '/' + 'User.Profile.json'; global.USER_PROFILE = JSON.parse(fs.readFileSync(filePath, 'utf8')); @@ -83,7 +83,7 @@ function readEmailConfiguration() { console.log( "Run : [INFO] readEmailConfiguration -> Entering function. "); let fs = require('fs'); - filePath = './' + 'Email-Config' + '/' + 'Email.Config.json'; + filePath = './' + 'configs' + '/' + 'Email.Config.json'; global.EMAIL_CONFIG = JSON.parse(fs.readFileSync(filePath, 'utf8')); readExecutionConfiguration(); @@ -98,7 +98,7 @@ function readExecutionConfiguration() { let filePath; try { let fs = require('fs'); - filePath = 'Execution.Config.json'; + filePath = './configs/Execution.Config.json'; let executionProperties = JSON.parse(fs.readFileSync(filePath, 'utf8')); global.DEV_TEAM = executionProperties.devTeam; global.EXCHANGE_NAME = executionProperties.exchangeName;