@lambdatest/smartui-cli 4.1.10 → 4.1.11-beta.0
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.cjs +4 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1710,7 +1710,7 @@ var authExec_default = (ctx) => {
|
|
|
1710
1710
|
};
|
|
1711
1711
|
|
|
1712
1712
|
// package.json
|
|
1713
|
-
var version = "4.1.
|
|
1713
|
+
var version = "4.1.11-beta.0";
|
|
1714
1714
|
var package_default = {
|
|
1715
1715
|
name: "@lambdatest/smartui-cli",
|
|
1716
1716
|
version,
|
|
@@ -4370,6 +4370,9 @@ var uploadWebFigma_default = (ctx) => __async(void 0, null, function* () {
|
|
|
4370
4370
|
};
|
|
4371
4371
|
const responseData = yield ctx.client.processWebFigma(requestBody, ctx.log);
|
|
4372
4372
|
ctx.log.debug("responseData : " + JSON.stringify(responseData));
|
|
4373
|
+
if (responseData && responseData.error && responseData.error.message) {
|
|
4374
|
+
throw new Error(responseData.error.message);
|
|
4375
|
+
}
|
|
4373
4376
|
if (responseData.data.message == "success") {
|
|
4374
4377
|
results = responseData.data.message;
|
|
4375
4378
|
ctx.build = {
|