Fix handling of SDC_TESTING envvar (really really this time)
This commit is contained in:
parent
1b2ed0758e
commit
e145090c79
@ -202,7 +202,8 @@ CLI.prototype.init = function (opts, args, callback) {
|
||||
var specifiedInsecureOpt = opts._order.filter(
|
||||
function (opt) { return opt.key === 'insecure'; }).length > 0;
|
||||
if (!specifiedInsecureOpt && process.env.SDC_TESTING) {
|
||||
opts.insecure = common.boolFromString(process.env.SDC_TESTING,
|
||||
envProfile.insecure = common.boolFromString(
|
||||
process.env.SDC_TESTING,
|
||||
false, '"SDC_TESTING" envvar');
|
||||
}
|
||||
if (opts.J) {
|
||||
|
Reference in New Issue
Block a user