@candlerip/shared3 0.0.54 → 0.0.55

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candlerip/shared3",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -12,7 +12,7 @@ export const loadEnvFile = (environmentMode, projectName) => {
12
12
  }
13
13
  const environmentVariables = ENVIRONMENT_VARIABLES[projectName];
14
14
  return {
15
- data: Object.keys(environmentVariables).reduce((acc, key) => {
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');