From b510f277a30eac20eb5aff848c7a635416530938 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 12 Aug 2016 04:03:10 -0400 Subject: [PATCH] remove duplicate var --- master.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/master.js b/master.js index 9e31650..a92a998 100644 --- a/master.js +++ b/master.js @@ -22,7 +22,6 @@ module.exports.create = function (opts) { console.log.apply(console, args); } - opts._le = opts.letsencrypt; opts.addWorker = function (worker) { opts._workers.push(worker); @@ -68,10 +67,10 @@ module.exports.create = function (opts) { // */ if (results.certs) { - promise = opts._le.renew(results.options, results.certs); + promise = opts.letsencrypt.renew(results.options, results.certs); } else { - promise = opts._le.register(results.options); + promise = opts.letsencrypt.register(results.options); } promise.then(function (certs) {