snyk 1.1154.0 → 1.1155.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/784.index.js +4 -0
- package/dist/cli/784.index.js.map +1 -1
- package/dist/cli/95.index.js +7 -10
- package/dist/cli/95.index.js.map +1 -1
- package/dist/cli/index.js +17 -12
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/thirdPartyNotice.json +2 -2
- package/package.json +1 -1
- package/src/generated/sha256sums.txt +10 -10
- package/src/generated/version +1 -1
- package/wrapper_dist/generated/sha256sums.txt +10 -10
- package/wrapper_dist/generated/version +1 -1
package/dist/cli/784.index.js
CHANGED
|
@@ -1486,6 +1486,10 @@ async function isFeatureFlagSupportedForOrg(featureFlag, org) {
|
|
|
1486
1486
|
}
|
|
1487
1487
|
exports.isFeatureFlagSupportedForOrg = isFeatureFlagSupportedForOrg;
|
|
1488
1488
|
async function hasFeatureFlag(featureFlag, options) {
|
|
1489
|
+
if (featureFlag === 'iacIntegratedExperience' &&
|
|
1490
|
+
config_1.default.API.includes('snykgov')) {
|
|
1491
|
+
return true;
|
|
1492
|
+
}
|
|
1489
1493
|
const { code, error, ok } = await isFeatureFlagSupportedForOrg(featureFlag, options.org);
|
|
1490
1494
|
if (code === 401 || code === 403) {
|
|
1491
1495
|
throw errors_1.AuthFailedError(error, code);
|