kourou 1.5.0-dev.2 → 1.5.0-dev.4
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/README.md +1 -1
- package/lib/commands/sdk/query.js +7 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -34,7 +34,13 @@ class SdkQuery extends common_1.Kommand {
|
|
|
34
34
|
const display = this.flags.display === ""
|
|
35
35
|
? response
|
|
36
36
|
: lodash_1.default.get(response, this.flags.display);
|
|
37
|
-
|
|
37
|
+
// An action that answers without the property --display points at, which
|
|
38
|
+
// is "result" by default, has nothing to show. JSON.stringify returns the
|
|
39
|
+
// undefined value rather than a string here, which used to be logged as
|
|
40
|
+
// the literal " undefined".
|
|
41
|
+
if (display !== undefined) {
|
|
42
|
+
this.log(JSON.stringify(display, null, 2));
|
|
43
|
+
}
|
|
38
44
|
this.logOk(`Successfully executed "${controller}:${action}"`);
|
|
39
45
|
}
|
|
40
46
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kourou",
|
|
3
3
|
"description": "The CLI that helps you manage your Kuzzle instances",
|
|
4
|
-
"version": "1.5.0-dev.
|
|
4
|
+
"version": "1.5.0-dev.4",
|
|
5
5
|
"author": "The Kuzzle Team <support@kuzzle.io>",
|
|
6
6
|
"bin": {
|
|
7
7
|
"kourou": "./bin/run"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"nyc": "15.1.0",
|
|
61
61
|
"oclif": "5.0.1",
|
|
62
62
|
"semantic-release": "25.0.8",
|
|
63
|
-
"semantic-release-config-kuzzle": "1.7.
|
|
63
|
+
"semantic-release-config-kuzzle": "1.7.2",
|
|
64
64
|
"should": "13.2.3",
|
|
65
65
|
"source-map-support": "0.5.21",
|
|
66
66
|
"ts-node": "10.9.*"
|