Skip to content

Commit

Permalink
Fix described.urls.version for pod
Browse files Browse the repository at this point in the history
  • Loading branch information
qtomlinson committed Apr 12, 2022
1 parent 80044b4 commit 6dcb971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/summary/clearlydefined.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ class ClearlyDescribedSummarizer {
setIfValue(result, 'described.urls.download', httpSource)
} else if (gitSource) {
const homepage = get(data, 'registryData.homepage')
const revision = get(data, 'registryData.sourceInfo.revision')
const revision = get(data, 'sourceInfo.revision')
if (homepage && revision) {
setIfValue(result, 'described.urls.version', `${homepage}/tree/${revision}`)
setIfValue(result, 'described.urls.download', `${homepage}/archive/${revision}.zip`)
Expand Down

0 comments on commit 6dcb971

Please sign in to comment.