Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/savage.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <github@chrisrebert.com>2016-07-10 22:16:50 +0300
committerGitHub <noreply@github.com>2016-07-10 22:16:50 +0300
commit3c23c0c662515846cf00f4668332d928bf2e7ad0 (patch)
treecdcb80267b4c366a2660f46767cd36daa3f5f51c
parentb122272d680bff5efd4f4b225bd6dfd7b955a4b6 (diff)
Add missing "s" prefix so string gets interpolated
Fixup to #42 Refs https://github.com/twbs/bootstrap/pull/20267#issuecomment-231597458
-rw-r--r--src/main/scala/com/getbootstrap/savage/server/PullRequestCommenter.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/com/getbootstrap/savage/server/PullRequestCommenter.scala b/src/main/scala/com/getbootstrap/savage/server/PullRequestCommenter.scala
index 1701d90..c7ee038 100644
--- a/src/main/scala/com/getbootstrap/savage/server/PullRequestCommenter.scala
+++ b/src/main/scala/com/getbootstrap/savage/server/PullRequestCommenter.scala
@@ -15,7 +15,7 @@ class PullRequestCommenter extends GitHubActorWithLogging {
case PullRequestBuildResult(prNum, commitSha, buildUrl, succeeded) => {
val mythicalStatus = if (succeeded) { "**CONFIRMED**" } else { "**BUSTED**" }
val plainStatus = if (succeeded) { "**Tests passed.**" } else { "**Tests failed.**" }
- val previewInfo = if (settings.ShowPreviewUrls) { "Docs preview: http://preview.twbsapps.com/c/${commitSha.sha}" } else { "" }
+ val previewInfo = if (settings.ShowPreviewUrls) { s"Docs preview: http://preview.twbsapps.com/c/${commitSha.sha}" } else { "" }
val commentMarkdown = s"""
|${plainStatus} Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: ${mythicalStatus}