Honor renew option when adding a site #55

Open
Ghost wants to merge 1 commits from (deleted):julienp/disable-renew-on-add into master
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8f69053020 - Show all commits

View File

@ -167,7 +167,7 @@ module.exports.wrap = function(greenlock, gconf) {
}
return mega.set(args).then(function(result) {
if (!gconf._bin_mode) {
if (!gconf._bin_mod && false !== gconf.renew) {
greenlock.renew({}).catch(function(err) {
if (!err.context) {
err.contxt = 'renew';