Skip to content

Commit

Permalink
Merge pull request #4187 from snyk/fix/remove-allow-analytics-check-f…
Browse files Browse the repository at this point in the history
…or-share-results

fix: remove allow analytics check for share results
  • Loading branch information
ofekatr committed Nov 2, 2022
2 parents 7ebdb4a + 4bac957 commit 234566f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/iac/test/v2/scan/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import * as path from 'path';
import * as rimraf from 'rimraf';
import config from '../../../../config';
import { api } from '../../../../api-token';
import { allowAnalytics } from '../../../../analytics';
import envPaths from 'env-paths';

const debug = newDebug('snyk-iac');
Expand Down Expand Up @@ -111,7 +110,7 @@ function processFlags(
flags.push('-depth-detection', `${options.depthDetection}`);
}

if (options.report && allowAnalytics()) {
if (options.report) {
flags.push('-report');
}

Expand Down

0 comments on commit 234566f

Please sign in to comment.