snyk 1.834.0 → 1.835.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/293.index.js
CHANGED
|
@@ -5383,9 +5383,6 @@ async function getSastSettings(options) {
|
|
|
5383
5383
|
if (!sastSettingsResponse.sastEnabled) {
|
|
5384
5384
|
throw new errors_1.FeatureNotSupportedForOrgError(org, 'Snyk Code', 'enable in Settings > Snyk Code');
|
|
5385
5385
|
}
|
|
5386
|
-
if (sastSettingsResponse.localCodeEngine.enabled) {
|
|
5387
|
-
throw new errors_1.CustomError('Snyk Code Local Engine is enabled, Snyk Code CLI is temporary disabled.');
|
|
5388
|
-
}
|
|
5389
5386
|
const trackUsageResponse = await checks_1.trackUsage(org);
|
|
5390
5387
|
if (trackUsageResponse.code === 429) {
|
|
5391
5388
|
throw new errors_1.FailedToRunTestError(trackUsageResponse.userMessage, trackUsageResponse.code);
|