File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -54,18 +54,18 @@ const setLogLevel = (logLevel: string): Level => {
54
54
} ;
55
55
56
56
const getEnvironmentConfig = ( ) : DotenvParseOutput => {
57
- const environmentConfig = REQUIRED_CONFIGURATION_OPTIONS . reduce (
58
- ( envConfig : DotenvParseOutput , configOption ) => {
59
- if ( process . env [ configOption ] ) {
60
- return {
61
- ... envConfig ,
62
- [ configOption ] : process . env [ configOption ] ! ,
63
- } ;
64
- }
65
- return envConfig ;
66
- } ,
67
- { }
68
- ) ;
57
+ const environmentConfig = REQUIRED_CONFIGURATION_OPTIONS . concat (
58
+ REQUIRED_CONFIGURATION_OPTIONS_LIVE_CEX_ENABLED ,
59
+ REQUIRED_CONFIGURATION_OPTIONS_LIVE_CEX_DISABLED
60
+ ) . reduce ( ( envConfig : DotenvParseOutput , configOption ) => {
61
+ if ( process . env [ configOption ] ) {
62
+ return {
63
+ ... envConfig ,
64
+ [ configOption ] : process . env [ configOption ] ! ,
65
+ } ;
66
+ }
67
+ return envConfig ;
68
+ } , { } ) ;
69
69
return environmentConfig ;
70
70
} ;
71
71
You can’t perform that action at this time.
0 commit comments