diff --git a/.gitignore b/.gitignore index 7ab8c3a90..d9ffcb1be 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,5 @@ configs/Email.Config.json configs/User.Profile.json configs/Execution.Config.json configs/Secret.Keys.json -.env +*.env +*.vscode* \ No newline at end of file diff --git a/Run.js b/Run.js index 1f79b005c..0b8d69e0a 100644 --- a/Run.js +++ b/Run.js @@ -80,7 +80,7 @@ function readExecutionConfiguration() { backtest: backtest, competition: competition } - } else if (process.env.TYPE === 'Indicator' || process.env.TYPE === 'Extractor') { + } else if (process.env.TYPE === 'Indicator' || process.env.TYPE === 'Extraction') { let allMonths = { run: "false", minYear: process.env.MIN_YEAR, @@ -136,8 +136,6 @@ function readExecutionConfiguration() { } function readStoragePermissions() { - let filePath; - try { console.log( "[INFO] Run -> readStoragePermissions -> Entering function. "); @@ -187,10 +185,8 @@ function readStoragePermissions() { startRoot(); } - } - catch (err) { + } catch (err) { console.log("[ERROR] Run -> readStoragePermissions -> err = " + err.message); - console.log("[HINT] Run -> readStoragePermissions -> You need to have a file at this path -> " + filePath); } }