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() {
|
||||
var config = await Manage._getLatest(manage, CONF);
|
||||
var site = config.sites[args.subject];
|
||||
if (!site) {
|
||||
if (!site || site.deletedAt) {
|
||||
return null;
|
||||
}
|
||||
site.deletedAt = Date.now();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "greenlock-manager-fs",
|
||||
"version": "3.0.2",
|
||||
"version": "3.0.4",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "greenlock-manager-fs",
|
||||
"version": "3.0.3",
|
||||
"version": "3.0.4",
|
||||
"description": "A simple file-based management strategy for Greenlock",
|
||||
"main": "manager.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue