v3.0.5: update all given config values

This commit is contained in:
AJ ONeal 2019-11-03 01:39:27 -06:00
parent 40fec526e1
commit 4b47fb4eb6
3 changed files with 8 additions and 3 deletions

View File

@ -95,10 +95,15 @@ Manage.create = function(CONF) {
if (newAlts.join() !== oldAlts.join()) {
// this will cause immediate renewal
args.renewAt = 1;
current.renewAt = 1;
current.altnames = args.altnames.slice(0);
}
}
Object.keys(args).forEach(function(k) {
if ('altnames' === k) {
return;
}
current[k] = args[k];
});
};
// no transaction promise here because it calls set

2
package-lock.json generated
View File

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

View File

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