@rpcbase/server 0.241.0 → 0.243.0

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.
package/bin.js CHANGED
@@ -16,7 +16,6 @@ const run_agent = require("./cli/run_agent")
16
16
 
17
17
  let is_command = false
18
18
 
19
- console.log("WILL RUN AGENT: DEBUG=", process.env.DEBUG)
20
19
 
21
20
  const args = yargs(hideBin(process.argv))
22
21
  .option("verbose", {
package/cli/run_docker.js CHANGED
@@ -42,9 +42,10 @@ const run_docker = async(infrastructure_dir, proj_prefix, args) => {
42
42
  ps_env.RB_SESSION_STORE = "yes"
43
43
  }
44
44
 
45
+ const exec_cmd = `${cmd} ${cmd_args.join(" ")}`
45
46
  // WARNING: blocks the process
46
47
  // this is the only way to have docker-compose shut down gracefully
47
- execSync(`${cmd} ${cmd_args.join(" ")}`, {
48
+ execSync(exec_cmd, {
48
49
  cwd: infrastructure_dir,
49
50
  stdio: "inherit",
50
51
  env: ps_env
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.241.0",
3
+ "version": "0.243.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -8,7 +8,7 @@ const warning_proxy_middleware = (req, res, next) => {
8
8
  const {host} = req.headers
9
9
 
10
10
  if (!suppress_warning && host.startsWith("localhost:")) {
11
- console.warn("are you running with the proxy address ? you shouldn't be using localhost when you are running the app with the reverse proxyy")
11
+ console.warn("are you running with the proxy address ? you shouldn't be using localhost when you are running the app with the reverse proxyy22")
12
12
  }
13
13
 
14
14
  next()