fixed context issue with conf file loading re: env vars file

This commit is contained in:
Master
2020-06-20 21:10:42 -04:00
parent d636ece26a
commit 88eaea7bfa
11 changed files with 28 additions and 13 deletions

View File

@@ -23,7 +23,7 @@
#include "../low_level/JSON_Loader.h"
#include <exception>
#include "../../Logger/Logger.h"
#include "../misc/helpers.h"
#define STRINGIZE2(s) #s
#define STRINGIZE(s) STRINGIZE2(s)
@@ -39,6 +39,8 @@ private:
Json::Value config_version;
Json::Value env_vars_file;
std::string env_vars_file_literal;
// flag to indicate if execution context should be overriden in config file
// if set to true Examplar should use whats in the config file for current working directory
// if set to false, Examplar should use the current working directory at time of execution