diff --git a/greenlock-shim.js b/greenlock-shim.js index 1689534..b7b623a 100644 --- a/greenlock-shim.js +++ b/greenlock-shim.js @@ -38,7 +38,9 @@ module.exports.create = function(opts) { greenlock._find({}).then(function(sites) { if (sites.length <= 0) { - console.warn("warning: No sites available. Did you add them?"); + console.warn("Warning: `find({})` returned 0 sites."); + console.warn(" Does `" + greenlock.manager._modulename + "` implement `find({})`?"); + console.warn(" Did you add sites?"); console.warn(" npx greenlock add --subject example.com --altnames example.com"); return; } diff --git a/package-lock.json b/package-lock.json index 7fd2cf6..f7d1a64 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@root/greenlock-express", - "version": "4.0.2", + "version": "4.0.3", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -48,9 +48,9 @@ "integrity": "sha512-OaEub02ufoU038gy6bsNHQOjIn8nUjGiLcaRmJ40IUykneJkIW5fxDqKxQx48cszuNflYldsJLPPXCrGfHs8yQ==" }, "@root/greenlock": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@root/greenlock/-/greenlock-4.0.3.tgz", - "integrity": "sha512-ocXz91v9LW3Y1OnEpZ3ExfW07CfxtdYfetsYaSXihMWWWOvy+tqWdn2lPIpEYrW9KoCmGj+ooqp44K0d+ZtsAg==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@root/greenlock/-/greenlock-4.0.4.tgz", + "integrity": "sha512-eSBuAs9LLn11I3oQECB7C61M8SrFSgXLaUGyWW87ctWybrV8wFAzc5QZTebOf97ymFX0gCebiWEO2iBtmLH59g==", "requires": { "@greenlock/manager": "^3.1.0", "@root/acme": "^3.0.9", diff --git a/package.json b/package.json index ea094c8..6c4e9e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@root/greenlock-express", - "version": "4.0.2", + "version": "4.0.3", "description": "Free SSL and managed or automatic HTTPS for node.js with Express, Koa, Connect, Hapi, and all other middleware systems.", "main": "greenlock-express.js", "homepage": "https://greenlock.domains", @@ -17,7 +17,7 @@ "example": "examples" }, "dependencies": { - "@root/greenlock": "^4.0.3", + "@root/greenlock": "^4.0.4", "redirect-https": "^1.1.5" }, "trulyOptionalDependencies": {