@celonis/content-cli 0.2.5 → 0.2.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celonis/content-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "CLI Tool to help manage content in Celonis EMS",
|
|
5
5
|
"main": "content-cli.js",
|
|
6
6
|
"bin": {
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
"@types/adm-zip": "^0.4.34",
|
|
29
29
|
"@types/node": "^16.11.19",
|
|
30
30
|
"@types/request": "~2.48.1",
|
|
31
|
-
"husky": "^4.0.3",
|
|
32
31
|
"lint-staged": "^9.5.0",
|
|
33
32
|
"prettier": "^1.19.1",
|
|
34
33
|
"tslint": "^5.20.1",
|
|
@@ -36,11 +35,6 @@
|
|
|
36
35
|
"tslint-consistent-codestyle": "^1.16.0",
|
|
37
36
|
"typescript": "~3.8.0"
|
|
38
37
|
},
|
|
39
|
-
"husky": {
|
|
40
|
-
"hooks": {
|
|
41
|
-
"pre-commit": "lint-staged"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
38
|
"lint-staged": {
|
|
45
39
|
"src/**/*.ts": [
|
|
46
40
|
"prettier --write",
|
|
@@ -52,7 +52,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
52
52
|
});
|
|
53
53
|
response.on("end", () => {
|
|
54
54
|
if (this.checkBadRequest(response.statusCode)) {
|
|
55
|
-
this.handleBadRequest(response, data.toString(), reject);
|
|
55
|
+
this.handleBadRequest(response.statusCode, data.toString(), reject);
|
|
56
56
|
}
|
|
57
57
|
else {
|
|
58
58
|
this.handleResponseStreamData(Buffer.concat(data), resolve, reject);
|
|
@@ -112,7 +112,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
112
112
|
// tslint:disable-next-line:typedef
|
|
113
113
|
handleResponse(res, resolve, reject) {
|
|
114
114
|
if (this.checkBadRequest(res.statusCode)) {
|
|
115
|
-
this.handleBadRequest(res, res.body, reject);
|
|
115
|
+
this.handleBadRequest(res.statusCode, res.body, reject);
|
|
116
116
|
return;
|
|
117
117
|
}
|
|
118
118
|
let body = {};
|