v3.0.4: don't re-remove removed sites

This commit is contained in:
AJ ONeal 2019-11-03 00:36:22 -06:00
parent 27bee1b8de
commit 40fec526e1
3 changed files with 3 additions and 3 deletions

View File

@ -228,7 +228,7 @@ Manage.create = function(CONF) {
manage._txPromise = manage._txPromise.then(async function() { manage._txPromise = manage._txPromise.then(async function() {
var config = await Manage._getLatest(manage, CONF); var config = await Manage._getLatest(manage, CONF);
var site = config.sites[args.subject]; var site = config.sites[args.subject];
if (!site) { if (!site || site.deletedAt) {
return null; return null;
} }
site.deletedAt = Date.now(); site.deletedAt = Date.now();

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "greenlock-manager-fs", "name": "greenlock-manager-fs",
"version": "3.0.2", "version": "3.0.4",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "greenlock-manager-fs", "name": "greenlock-manager-fs",
"version": "3.0.3", "version": "3.0.4",
"description": "A simple file-based management strategy for Greenlock", "description": "A simple file-based management strategy for Greenlock",
"main": "manager.js", "main": "manager.js",
"scripts": { "scripts": {