We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9415ba0 commit 6f944ddCopy full SHA for 6f944dd
lib/support.js
@@ -129,7 +129,23 @@ function downloadSupportData (supportablePackages, cb) {
129
})
130
}
131
contributorData.url = contributor.url
132
- done(null, contributorData)
+ var result = {
133
+ name: contributorData.name,
134
+ type: contributorData.type,
135
+ url: contributor.url
136
+ }
137
+ if (looksLikeURL(contributorData.homepage)) {
138
+ result.homepage = contributorData.homepage
139
140
+ if (
141
+ Array.isArray(contributorData.links) &&
142
+ contributorData.links.every(function (element) {
143
+ return looksLikeURL(element)
144
+ })
145
+ ) {
146
+ result.links = contributorData.links
147
148
+ done(null, result)
149
150
151
}), 5, function (error, resolvedContributors) {
0 commit comments