@candlerip/shared3 0.0.54 → 0.0.56
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -12,7 +12,7 @@ export const loadEnvFile = (environmentMode, projectName) => {
|
|
12
12
|
}
|
13
13
|
const environmentVariables = ENVIRONMENT_VARIABLES[projectName];
|
14
14
|
return {
|
15
|
-
data:
|
15
|
+
data: environmentVariables.reduce((acc, key) => {
|
16
16
|
const data = {};
|
17
17
|
if (ENVIRONMENT_VARIABLE[key] === 'boolean') {
|
18
18
|
data[key] = Boolean(parsed[key] === 'true');
|