From 4bac9570accf35e479ca30d4c1b9ae99509f9e56 Mon Sep 17 00:00:00 2001 From: Ofek Atar Date: Wed, 2 Nov 2022 12:21:33 +0200 Subject: [PATCH] fix: remove allow analytics check for share results --- src/lib/iac/test/v2/scan/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/iac/test/v2/scan/index.ts b/src/lib/iac/test/v2/scan/index.ts index fa20f916d67..a403c8a769f 100644 --- a/src/lib/iac/test/v2/scan/index.ts +++ b/src/lib/iac/test/v2/scan/index.ts @@ -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'); @@ -111,7 +110,7 @@ function processFlags( flags.push('-depth-detection', `${options.depthDetection}`); } - if (options.report && allowAnalytics()) { + if (options.report) { flags.push('-report'); }