Rename the environment variable

This commit is contained in:
Sander Declerck 2025-11-26 16:47:46 +01:00
parent 3e6ff1ab56
commit 9b5b3cad22
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -144,7 +144,7 @@ You can set the minimum package age through multiple sources (in order of priori
2. **Environment Variable**:
```shell
export AIKIDO_MINIMUM_PACKAGE_AGE_HOURS=48
export SAFE_CHAIN_MINIMUM_PACKAGE_AGE_HOURS=48
npm install express
```

View file

@ -3,5 +3,5 @@
* @returns {string | undefined}
*/
export function getMinimumPackageAgeHours() {
return process.env.AIKIDO_MINIMUM_PACKAGE_AGE_HOURS;
return process.env.SAFE_CHAIN_MINIMUM_PACKAGE_AGE_HOURS;
}