ph-utils 0.9.8 → 0.9.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/lib/server.js +2 -2
  2. package/package.json +1 -1
package/lib/server.js CHANGED
@@ -87,11 +87,11 @@ export function parseEnvs() {
87
87
  if (values.NODE_ENV != null && typeof values.NODE_ENV === "string") {
88
88
  nodeEnv = values.NODE_ENV;
89
89
  }
90
- else {
90
+ if (nodeEnv == null) {
91
91
  nodeEnv = "production";
92
92
  }
93
93
  process.env.NODE_ENV = nodeEnv;
94
- files.push(`.env.${values.NODE_ENV}`);
94
+ files.push(`.env.${nodeEnv}`);
95
95
  let envParsed = {};
96
96
  for (let i = 0, len = files.length; i < len; i++) {
97
97
  const file = files[i];
package/package.json CHANGED
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "./*": "./lib/*"
70
70
  },
71
- "version": "0.9.8",
71
+ "version": "0.9.10",
72
72
  "type": "module",
73
73
  "repository": {
74
74
  "type": "git",