@nexrender/worker 1.39.1 → 1.39.7
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 +6 -5
- package/src/bin.js +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexrender/worker",
|
|
3
|
-
"version": "1.39.
|
|
3
|
+
"version": "1.39.7",
|
|
4
4
|
"author": "inlife",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -16,14 +16,15 @@
|
|
|
16
16
|
]
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@nexrender/api": "^1.
|
|
20
|
-
"@nexrender/core": "^1.39.
|
|
19
|
+
"@nexrender/api": "^1.39.7",
|
|
20
|
+
"@nexrender/core": "^1.39.4",
|
|
21
21
|
"@nexrender/types": "^1.38.0",
|
|
22
22
|
"arg": "^4.1.0",
|
|
23
|
-
"chalk": "^2.4.2"
|
|
23
|
+
"chalk": "^2.4.2",
|
|
24
|
+
"rimraf": "^3.0.2"
|
|
24
25
|
},
|
|
25
26
|
"publishConfig": {
|
|
26
27
|
"access": "public"
|
|
27
28
|
},
|
|
28
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "15564b834ed85c5f7d0d44757815dd043ac1ed5c"
|
|
29
30
|
}
|
package/src/bin.js
CHANGED
|
@@ -161,6 +161,10 @@ console.log(chalk`> starting {bold.cyan nexrender-worker} endpoint {bold ${serve
|
|
|
161
161
|
|
|
162
162
|
let settings = {};
|
|
163
163
|
const opt = (key, arg) => {if (args[arg]) {
|
|
164
|
+
//If not specified == true, otherwise false
|
|
165
|
+
if(key === "stopOnError"){
|
|
166
|
+
args[arg] = false;
|
|
167
|
+
}
|
|
164
168
|
settings[key] = args[arg];
|
|
165
169
|
}}
|
|
166
170
|
|