diff --git a/manager.js b/manager.js index da3f4eb..aba537d 100644 --- a/manager.js +++ b/manager.js @@ -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(); diff --git a/package-lock.json b/package-lock.json index a8ee0ec..3faa2ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "greenlock-manager-fs", - "version": "3.0.2", + "version": "3.0.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 19a113b..70f557d 100644 --- a/package.json +++ b/package.json @@ -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": {