v3.1.2: bugfix cli output

This commit is contained in:
AJ ONeal 2019-11-05 03:54:51 -07:00
parent d47d03c980
commit d57089f49c
3 changed files with 3 additions and 3 deletions

View File

@ -295,7 +295,7 @@ G.create = function(gconf) {
greenlock._configAll = function(args) { greenlock._configAll = function(args) {
return greenlock._find(args).then(function(sites) { return greenlock._find(args).then(function(sites) {
if (!sites || !sites.length) { if (!sites || !sites.length) {
return null; return [];
} }
sites = JSON.parse(JSON.stringify(sites)); sites = JSON.parse(JSON.stringify(sites));
return greenlock.manager._defaults().then(function(mconf) { return greenlock.manager._defaults().then(function(mconf) {

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@root/greenlock", "name": "@root/greenlock",
"version": "3.1.0", "version": "3.1.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@root/greenlock", "name": "@root/greenlock",
"version": "3.1.0", "version": "3.1.2",
"description": "The easiest Let's Encrypt client for Node.js and Browsers", "description": "The easiest Let's Encrypt client for Node.js and Browsers",
"homepage": "https://rootprojects.org/greenlock/", "homepage": "https://rootprojects.org/greenlock/",
"main": "greenlock.js", "main": "greenlock.js",