diff --git a/ssl-root-cas.tpl.js b/ssl-root-cas.tpl.js index a06553c..c37b639 100644 --- a/ssl-root-cas.tpl.js +++ b/ssl-root-cas.tpl.js @@ -8,7 +8,8 @@ var originalCas = [ /*TPL*/ ]; -module.exports.rootCas = module.exports = originalCas.slice(0); +module.exports = originalCas.slice(0); // backwards compat +module.exports.rootCas = module.exports; module.exports.rootCas.inject = function (/*context*/) { var rootCas = this || module.exports.rootCas; var opts = /*context ||*/ require('https').globalAgent.options;