[AAE-46514] - Removed the check on CI as we have other tools

This commit is contained in:
VitoAlbano
2026-06-04 09:26:32 +01:00
parent 4b4f2390c1
commit af8432f864
2 changed files with 14 additions and 0 deletions
+7
View File
@@ -29,8 +29,15 @@
* 3. Blocks installation if a compromised package is found
*
* Cache: Results are cached locally for 24 hours to avoid slowing down installs.
*
* Set ADF_SKIP_SECURITY_CHECK=1 to disable (useful for CI environments).
*/
if (process.env.ADF_SKIP_SECURITY_CHECK === '1' || process.env.ADF_SKIP_SECURITY_CHECK === 'true') {
console.log('🔒 ADF Security Check: Skipped (ADF_SKIP_SECURITY_CHECK=1)\n');
process.exit(0);
}
import { readFileSync, writeFileSync, mkdirSync, rmSync, statSync } from 'node:fs';
import { join, dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
+7
View File
@@ -26,8 +26,15 @@
*
* Checking package.json catches new dependencies added during upgrades
* (e.g., nx migrate) before the lockfile is updated.
*
* Set ADF_SKIP_SECURITY_CHECK=1 to disable (useful for CI environments).
*/
if (process.env.ADF_SKIP_SECURITY_CHECK === '1' || process.env.ADF_SKIP_SECURITY_CHECK === 'true') {
console.log('🔒 ADF Security Check: Skipped (ADF_SKIP_SECURITY_CHECK=1)\n');
process.exit(0);
}
import { readFileSync, mkdirSync, writeFileSync } from 'node:fs';
import { join, dirname } from 'node:path';
import { fileURLToPath } from 'node:url';