fix debug

This commit is contained in:
Henry Zhu 2016-12-16 18:03:29 -05:00
parent e3abd80927
commit da8ed9643b

View File

@ -215,7 +215,7 @@ let hasBeenLogged = false;
let hasBeenWarned = false;
const logPlugin = (plugin, targets, list) => {
const envList = list[plugin];
const envList = list[plugin] || {};
const filteredList = Object.keys(targets)
.reduce((a, b) => {
a[b] = envList[b];