diff --git a/lib/cli.js b/lib/cli.js index 40cbce8..50d35ee 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -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) {