UNPKG

302 BJavaScriptView Raw
1"use strict";
2
3/*
4 Checks if any of the used variable from process.env is changed
5*/
6function 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
16module.exports = isAccessedVarChanged;
\No newline at end of file