Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Fix wording
Browse files Browse the repository at this point in the history
Thanks @hypest
  • Loading branch information
AliSoftware committed Jun 25, 2021
1 parent 78af5a8 commit 26fa081
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions org/pr/installable-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ async function getDownloadCommentText(status) {
if (apkArtifacts.length == 1) {
return `You can test the changes on this Pull Request by downloading the APK [here](${apkArtifacts[0].url}).`
} else if (apkArtifacts.length > 1) {
const links = apkArtifacts.map(artifact => `- [${artifact.path.split("/").pop()}](${artifact.url})`).join(`\n`)
return `You can test the changes on this Pull Request by downloading the APKs:\n${links}.`
const links = apkArtifacts.map(artifact => ` - [${artifact.path.split("/").pop()}](${artifact.url})`).join(`\n`)
return `You can test the changes on this Pull Request by downloading the APKs:\n${links}`
}
return undefined
}
Expand Down
2 changes: 1 addition & 1 deletion tests/installable-build-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,6 @@ describe("installable build handling", () => {
}
await installableBuild(webhook)

expectComment(webhook, `You can test the changes on this Pull Request by downloading the APKs:\n- [file1.apk](${mockedArtifacts[0].url})\n- [file2.apk](${mockedArtifacts[1].url}).`)
expectComment(webhook, `You can test the changes on this Pull Request by downloading the APKs:\n - [file1.apk](${mockedArtifacts[0].url})\n - [file2.apk](${mockedArtifacts[1].url})`)
})
})

0 comments on commit 26fa081

Please sign in to comment.