@canyonjs/cli 1.0.24 → 1.0.25
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/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import node_fs from "node:fs";
|
|
|
5
5
|
import node_path from "node:path";
|
|
6
6
|
import axios from "axios";
|
|
7
7
|
var package_namespaceObject = {
|
|
8
|
-
rE: "1.0.
|
|
8
|
+
rE: "1.0.25"
|
|
9
9
|
};
|
|
10
10
|
function mergeNumberMaps(a = {}, b = {}) {
|
|
11
11
|
const result = {
|
|
@@ -106,7 +106,8 @@ async function mapCommand(params, options) {
|
|
|
106
106
|
log(JSON.stringify(r.data, null, 2));
|
|
107
107
|
return r;
|
|
108
108
|
}).catch((err)=>{
|
|
109
|
-
log(
|
|
109
|
+
if (err?.response?.data) log(err?.response?.data);
|
|
110
|
+
else String(err);
|
|
110
111
|
return err;
|
|
111
112
|
});
|
|
112
113
|
}
|