mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[AAE-46514] - Removed the check on CI as we have other tools
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user