mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Rename the environment variable
This commit is contained in:
parent
3e6ff1ab56
commit
9b5b3cad22
2 changed files with 2 additions and 2 deletions
|
|
@ -144,7 +144,7 @@ You can set the minimum package age through multiple sources (in order of priori
|
||||||
2. **Environment Variable**:
|
2. **Environment Variable**:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
export AIKIDO_MINIMUM_PACKAGE_AGE_HOURS=48
|
export SAFE_CHAIN_MINIMUM_PACKAGE_AGE_HOURS=48
|
||||||
npm install express
|
npm install express
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@
|
||||||
* @returns {string | undefined}
|
* @returns {string | undefined}
|
||||||
*/
|
*/
|
||||||
export function getMinimumPackageAgeHours() {
|
export function getMinimumPackageAgeHours() {
|
||||||
return process.env.AIKIDO_MINIMUM_PACKAGE_AGE_HOURS;
|
return process.env.SAFE_CHAIN_MINIMUM_PACKAGE_AGE_HOURS;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue