snyk 1.769.0 → 1.770.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.
@@ -5126,6 +5126,9 @@ async function validateCodeTest(options) {
5126
5126
  if (!sastSettingsResponse.sastEnabled) {
5127
5127
  throw new errors_1.FeatureNotSupportedForOrgError(org, 'Snyk Code', 'enable in Settings > Snyk Code');
5128
5128
  }
5129
+ if (sastSettingsResponse.localCodeEngine.enabled) {
5130
+ throw new errors_1.CustomError('Snyk Code Local Engine is enabled, Snyk Code CLI is temporary disabled.');
5131
+ }
5129
5132
  const trackUsageResponse = await checks_1.trackUsage(org);
5130
5133
  if (trackUsageResponse.code === 429) {
5131
5134
  throw new errors_1.FailedToRunTestError(trackUsageResponse.userMessage, trackUsageResponse.code);