Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

Fixes #143. Log correct targets. #155

Merged
merged 1 commit into from
Jan 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ const logPlugin = (plugin, targets, list) => {
const envList = list[plugin] || {};
const filteredList = Object.keys(targets)
.reduce((a, b) => {
a[b] = envList[b];
if (!envList[b] || targets[b] < envList[b]) {
a[b] = targets[b];
}
return a;
}, {});
const logStr = ` ${plugin} ${JSON.stringify(filteredList)}`;
Expand Down