Skip to content

Commit

Permalink
[tools] fixed publish-release.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
liplum committed May 27, 2024
1 parent f337395 commit e236792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/publish-release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function buildArtifactPayload({ version, tagName, releaseTime, releaseNote, apk,
}

const validateArtifactPayload = (payload) => {
for (const [profile, download] in Object.entries(payload.downloads)) {
for (const [profile, download] of Object.entries(payload.downloads)) {
if (!(download.default && download.url[download.default] !== undefined)) {
if (download.url.length > 0) {
download.default = download.url[0]
Expand Down

0 comments on commit e236792

Please sign in to comment.