v3.0.2: fix the wrapped find callback

This commit is contained in:
AJ ONeal 2019-11-01 22:26:58 +00:00
parent f077e14fc9
commit 7875d9d0c9
3 changed files with 30 additions and 3 deletions

View File

@ -112,7 +112,8 @@ Manage.create = function(CONF) {
// between the managed state and the overlay, and choose
// what was found.
var theirs = await CONF.find(args);
return _mergeFind(ours, theirs);
var config = await Manage._getLatest(manage, CONF);
return _mergeFind(config, ours, theirs);
};
function _find(args) {

28
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "greenlock-manager-fs",
"version": "0.7.0",
"version": "3.0.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -9,6 +9,32 @@
"resolved": "https://registry.npmjs.org/@root/mkdirp/-/mkdirp-1.0.0.tgz",
"integrity": "sha512-hxGAYUx5029VggfG+U9naAhQkoMSXtOeXtbql97m3Hi6/sQSRL/4khKZPyOF6w11glyCOU38WCNLu9nUcSjOfA=="
},
"@root/request": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/@root/request/-/request-1.4.2.tgz",
"integrity": "sha512-J8FM4+SJuc7WRC+Jz17m+VT2lgI7HtatHhxN1F2ck5aIKUAxJEaR4u/gLBsgT60mVHevKCjKN0O8115UtJjwLw==",
"dev": true
},
"greenlock-manager-fs": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/greenlock-manager-fs/-/greenlock-manager-fs-3.0.1.tgz",
"integrity": "sha512-vZfGFq1TTKxaAqdGDUwNservrNzXx0xCwT/ovG/N378GrhS+U5S8B8LUlNtQU7Fdw6RToMiBcm22OOxSrvZ2zw==",
"dev": true,
"requires": {
"@root/mkdirp": "^1.0.0",
"safe-replace": "^1.1.0"
}
},
"greenlock-manager-test": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/greenlock-manager-test/-/greenlock-manager-test-3.0.0.tgz",
"integrity": "sha512-grqpUcxT7v5KzJ04r8wJWXjSVm7us1z/2QluCJRl9BZUM4CXzQuP1C0d2wdsV4NHwziEGJpA+4mFsntuh3f1YA==",
"dev": true,
"requires": {
"@root/request": "^1.4.1",
"greenlock-manager-fs": "^3.0.0"
}
},
"safe-replace": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/safe-replace/-/safe-replace-1.1.0.tgz",

View File

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