Skip to content

Commit

Permalink
fix: remove allow analytics check for share results
Browse files Browse the repository at this point in the history
  • Loading branch information
ofekatr committed Nov 2, 2022
1 parent 0345b4b commit 4bac957
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 4bac957

Please sign in to comment.