@rpcbase/cli 0.22.0 → 0.24.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/package.json
CHANGED
|
@@ -7,6 +7,8 @@ const exit_with_message = require("./exit_with_message")
|
|
|
7
7
|
|
|
8
8
|
const {CONTAINER_MODE} = process.env
|
|
9
9
|
|
|
10
|
+
if (!["docker", "native"].includes(CONTAINER_MODE.trim()))
|
|
11
|
+
throw new Error("expected CONTAINER_MODE to be native|docker")
|
|
10
12
|
|
|
11
13
|
// run type is client | server | both
|
|
12
14
|
const get_run_configs = () => {
|