1 | ;
|
2 |
|
3 | /*
|
4 | Checks if any of the used variable from process.env is changed
|
5 | */
|
6 | function isAccessedVarChanged(cacheData) {
|
7 | for (let key in cacheData.env) {
|
8 | if (cacheData.env[key] !== process.env[key]) {
|
9 | return true;
|
10 | }
|
11 | }
|
12 |
|
13 | return false;
|
14 | }
|
15 |
|
16 | module.exports = isAccessedVarChanged; |
\ | No newline at end of file |