@prismer/sdk 2.0.0 → 2.0.1
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/dist/cli.js +2 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -6526,7 +6526,8 @@ function register6(parent, getIMClient2, _getAPIClient) {
|
|
|
6526
6526
|
process.stdout.write(JSON.stringify(res, null, 2) + "\n");
|
|
6527
6527
|
return;
|
|
6528
6528
|
}
|
|
6529
|
-
const
|
|
6529
|
+
const envelope = res;
|
|
6530
|
+
const records = Array.isArray(envelope.data) ? envelope.data : Array.isArray(res) ? res : Array.isArray(envelope.skills) ? envelope.skills : [];
|
|
6530
6531
|
if (records.length === 0) {
|
|
6531
6532
|
process.stdout.write("No skills installed.\n");
|
|
6532
6533
|
return;
|