profoundjs 6.0.4 → 6.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,6 @@
8
8
 
9
9
  */
10
10
 
11
- require("dotenv").config();
12
11
  const iutils = require("./install_utils.js");
13
12
 
14
13
  process.stdout.write(iutils.getConfigPath());
@@ -135,3 +135,11 @@ exports.isIBMi = function() {
135
135
  // Node.js versions < 18 report os.platform() === "aix" on IBM i.
136
136
  return (os.platform() === "os400" || (os.platform() === "aix" && os.type() === "OS400"));
137
137
  }
138
+
139
+ if (exports.getDeployDir()) {
140
+ require("dotenv").config(
141
+ {
142
+ path: path.join(exports.getDeployDir(), ".env")
143
+ }
144
+ );
145
+ }
@@ -12,7 +12,7 @@
12
12
  "profoundui"
13
13
  ],
14
14
  "dependencies": {
15
- "profoundjs": "^6.0.4"
15
+ "profoundjs": "^6.0.5"
16
16
  },
17
17
  "scripts": {
18
18
  "start": "node start.js"
Binary file
@@ -9,7 +9,6 @@
9
9
  Any changes to the behavior may require changes to the "install_info.json" file or Profound Installer.
10
10
  */
11
11
  const child_process = require("child_process");
12
- require("dotenv").config();
13
12
  const minimist = require("minimist");
14
13
  const iutils = require("./install_utils.js");
15
14
  const readline = require("readline");