v3.0.1: fix doctoring
This commit is contained in:
parent
c1ea352fa1
commit
f077e14fc9
|
@ -315,6 +315,7 @@ doctor.sites = function(config) {
|
||||||
sites = {};
|
sites = {};
|
||||||
}
|
}
|
||||||
if (Array.isArray(config.sites)) {
|
if (Array.isArray(config.sites)) {
|
||||||
|
sites = {};
|
||||||
config.sites.forEach(function(site) {
|
config.sites.forEach(function(site) {
|
||||||
sites[site.subject] = site;
|
sites[site.subject] = site;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue