From d57089f49c6febd74def49ea0827503ce10c8026 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 5 Nov 2019 03:54:51 -0700 Subject: [PATCH] v3.1.2: bugfix cli output --- greenlock.js | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/greenlock.js b/greenlock.js index c3b83f0..4240467 100644 --- a/greenlock.js +++ b/greenlock.js @@ -295,7 +295,7 @@ G.create = function(gconf) { greenlock._configAll = function(args) { return greenlock._find(args).then(function(sites) { if (!sites || !sites.length) { - return null; + return []; } sites = JSON.parse(JSON.stringify(sites)); return greenlock.manager._defaults().then(function(mconf) { diff --git a/package-lock.json b/package-lock.json index a33a894..a43b5de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@root/greenlock", - "version": "3.1.0", + "version": "3.1.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 9da6dfd..b5e8677 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@root/greenlock", - "version": "3.1.0", + "version": "3.1.2", "description": "The easiest Let's Encrypt client for Node.js and Browsers", "homepage": "https://rootprojects.org/greenlock/", "main": "greenlock.js",