v3.0.4: don't re-remove removed sites
This commit is contained in:
parent
27bee1b8de
commit
40fec526e1
|
@ -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();
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
Loading…
Reference in New Issue