From 0fbee463c8f247f5dfba7511c0e613b775dfe7a9 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 30 Jul 2019 20:28:30 +0200 Subject: [PATCH] path adjustments --- Integrations/Ecosystem.js | 2 +- Integrations/Strategy.js | 2 +- Project.njsproj | 25 ++----------------------- 3 files changed, 4 insertions(+), 25 deletions(-) diff --git a/Integrations/Ecosystem.js b/Integrations/Ecosystem.js index 7d8832b02..fcf1fd364 100644 --- a/Integrations/Ecosystem.js +++ b/Integrations/Ecosystem.js @@ -74,7 +74,7 @@ exports.getEcosystem = async function () { global.ECOSYSTEM = ecosystemResponse.data.data.web_GetEcosystem } else { - let fileLocation = process.env.CONFIG_PATH + 'ecosystem.json' + let fileLocation = process.env.INTER_PROCESS_FILES_PATH + '/ecosystem.json' let ecosystem = await readFileAsync(fileLocation, { encoding: 'utf8' }) global.ECOSYSTEM = JSON.parse(ecosystem) } diff --git a/Integrations/Strategy.js b/Integrations/Strategy.js index ede929bbe..de41b75c5 100644 --- a/Integrations/Strategy.js +++ b/Integrations/Strategy.js @@ -37,7 +37,7 @@ exports.getStrategy = async function () { global.STRATEGY = strategizerResponse.data.data.strategizer_TradingSystemByFb.data; } else { - let fileLocation = process.env.INTER_PROCESS_FILES_PATH + 'definition.json' + let fileLocation = process.env.INTER_PROCESS_FILES_PATH + '/definition.json' let strategy = await readFileAsync(fileLocation, { encoding: 'utf8' }) global.STRATEGY = JSON.parse(strategy) } diff --git a/Project.njsproj b/Project.njsproj index b286cdfa9..a23e91de9 100644 --- a/Project.njsproj +++ b/Project.njsproj @@ -24,35 +24,18 @@ Code - - Code - - - Code - - - Code - + - - Code - Code Code - - Code - Code - - Code - Code @@ -62,9 +45,6 @@ Code - - Code - Code @@ -85,15 +65,14 @@ Code - Code + -