@displaydev/cli 0.21.0 → 0.21.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/main.js +2 -2
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -689,7 +689,7 @@ program.command('share <shortId>').description('Change an artifact\'s visibility
|
|
|
689
689
|
// second line. Avoid hard-coding "Private visibility…" since the
|
|
690
690
|
// free-tier gated-artifact cap also returns 402.
|
|
691
691
|
console.error(err.message);
|
|
692
|
-
upgradeUrl = (_ref = (_err_details = err.details) === null || _err_details === void 0 ? void 0 : _err_details.upgrade_url) !== null && _ref !== void 0 ? _ref : 'https://app.display.dev/billing';
|
|
692
|
+
upgradeUrl = (_ref = (_err_details = err.details) === null || _err_details === void 0 ? void 0 : _err_details.upgrade_url) !== null && _ref !== void 0 ? _ref : 'https://app.display.dev/settings/billing';
|
|
693
693
|
console.error("Upgrade: ".concat(upgradeUrl));
|
|
694
694
|
process.exit(1);
|
|
695
695
|
}
|
|
@@ -1678,7 +1678,7 @@ program.command('set-logo <file>').description('Upload or replace the org logo (
|
|
|
1678
1678
|
if (_instanceof(err1, ApiError) && err1.status === 402) {
|
|
1679
1679
|
;
|
|
1680
1680
|
;
|
|
1681
|
-
upgradeUrl = (_ref = (_err_details = err1.details) === null || _err_details === void 0 ? void 0 : _err_details.upgrade_url) !== null && _ref !== void 0 ? _ref : 'https://app.display.dev/billing';
|
|
1681
|
+
upgradeUrl = (_ref = (_err_details = err1.details) === null || _err_details === void 0 ? void 0 : _err_details.upgrade_url) !== null && _ref !== void 0 ? _ref : 'https://app.display.dev/settings/billing';
|
|
1682
1682
|
console.error("Error: Setting an org logo requires a paid plan. See ".concat(upgradeUrl));
|
|
1683
1683
|
process.exit(1);
|
|
1684
1684
|
}
|