snyk 1.1160.0 → 1.1162.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 +0 -4
- package/dist/cli/784.index.js.map +1 -1
- package/dist/cli/95.index.js +34 -5
- package/dist/cli/95.index.js.map +1 -1
- 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
|
@@ -1492,10 +1492,6 @@ async function isFeatureFlagSupportedForOrg(featureFlag, org) {
|
|
|
1492
1492
|
}
|
|
1493
1493
|
exports.isFeatureFlagSupportedForOrg = isFeatureFlagSupportedForOrg;
|
|
1494
1494
|
async function hasFeatureFlag(featureFlag, options) {
|
|
1495
|
-
if (featureFlag === 'iacIntegratedExperience' &&
|
|
1496
|
-
config_1.default.API.includes('snykgov')) {
|
|
1497
|
-
return true;
|
|
1498
|
-
}
|
|
1499
1495
|
const { code, error, ok } = await isFeatureFlagSupportedForOrg(featureFlag, options.org);
|
|
1500
1496
|
if (code === 401 || code === 403) {
|
|
1501
1497
|
throw errors_1.AuthFailedError(error, code);
|