parent
963249fc4b
commit
bc02c95ef0
@ -132,7 +132,9 @@ const logPlugin = (plugin, targets, list) => {
|
|||||||
const envList = list[plugin] || {};
|
const envList = list[plugin] || {};
|
||||||
const filteredList = Object.keys(targets)
|
const filteredList = Object.keys(targets)
|
||||||
.reduce((a, b) => {
|
.reduce((a, b) => {
|
||||||
a[b] = envList[b];
|
if (!envList[b] || targets[b] < envList[b]) {
|
||||||
|
a[b] = targets[b];
|
||||||
|
}
|
||||||
return a;
|
return a;
|
||||||
}, {});
|
}, {});
|
||||||
const logStr = ` ${plugin} ${JSON.stringify(filteredList)}`;
|
const logStr = ` ${plugin} ${JSON.stringify(filteredList)}`;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user