Fixes TypeError: Cannot read property 'reduce' of undefined error.
The user may define the variables at the environment level. In these cases, the variables are not exported in the collection JSON. Added a check to variable so that the reduce function is not called on undefined.
Fixes
TypeError: Cannot read property 'reduce' of undefined
error.The user may define the variables at the environment level. In these cases, the variables are not exported in the collection JSON. Added a check to
variable
so that the reduce function is not called onundefined
.