Boolean environment variables we're being parsed as strings and thus they we're always considered as true by javascript irrespective of their actual value. Now the strings are being compared with an expression and thus the resultant boolean is passed to the variable.
Description
Boolean environment variables we're being parsed as strings and thus they we're always considered as
true
by javascript irrespective of their actual value. Now the strings are being compared with an expression and thus the resultant boolean is passed to the variable.Fix based on this article.
Motivation and Context
This solves the issue of incorrect parsing of booleans for environment variables.
How Has This Been Tested?
Types of changes
Checklist: