From 3c23c0c662515846cf00f4668332d928bf2e7ad0 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 10 Jul 2016 12:16:50 -0700 Subject: Add missing "s" prefix so string gets interpolated Fixup to #42 Refs https://github.com/twbs/bootstrap/pull/20267#issuecomment-231597458 --- .../scala/com/getbootstrap/savage/server/PullRequestCommenter.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- cgit v1.2.3