From b558c1f0ecaae8905e34aeda1c204caa8b28bfac Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 5 Nov 2019 15:49:32 -0700 Subject: [PATCH] v3.1.5: quiet down --- greenlock.js | 10 ++++++++-- package.json | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/greenlock.js b/greenlock.js index e5d7863..c050ef8 100644 --- a/greenlock.js +++ b/greenlock.js @@ -399,15 +399,21 @@ G.create = function(gconf) { notify: greenlock._notify, debug: greenlock._defaults.debug || args.debug }); + + // The user has explicitly set the directoryUrl, great! var dirUrl = args.directoryUrl || mconf.directoryUrl; + + // The directoryUrl is implicit var showDir = false; if (!dirUrl) { showDir = true; dirUrl = greenlock._defaults.directoryUrl; } - if (showDir || (/staging/.test(dirUrl) && !gdefaults.shownDirectory)) { + + // Show the directory if implicit + if (showDir && !gdefaults.shownDirectory) { gdefaults.shownDirectory = true; - console.info('ACME Directory URL:', gdefaults.directoryUrl); + console.info('ACME Directory URL:', dirUrl); } var dir = caches[dirUrl]; diff --git a/package.json b/package.json index e2fc12d..bb066fb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@root/greenlock", - "version": "3.1.4", + "version": "3.1.5", "description": "The easiest Let's Encrypt client for Node.js and Browsers", "homepage": "https://rootprojects.org/greenlock/", "main": "greenlock.js",