snyk 1.1105.0 → 1.1106.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/cli/917.index.js
CHANGED
|
@@ -2834,7 +2834,7 @@ exports.UnsupportedEntitlementError = void 0;
|
|
|
2834
2834
|
const custom_error_1 = __webpack_require__(17188);
|
|
2835
2835
|
class UnsupportedEntitlementError extends custom_error_1.CustomError {
|
|
2836
2836
|
constructor(entitlement, userMessage = `This feature is currently not enabled for your org. To enable it, please contact snyk support.`) {
|
|
2837
|
-
super(
|
|
2837
|
+
super(`Unsupported feature - Missing the ${entitlement ? entitlement : 'required'} entitlement`);
|
|
2838
2838
|
this.entitlement = entitlement;
|
|
2839
2839
|
this.code = UnsupportedEntitlementError.ERROR_CODE;
|
|
2840
2840
|
this.userMessage = userMessage;
|