From ce56313561f86d0c15ca6efd0fdf70971bbdba62 Mon Sep 17 00:00:00 2001 From: Michal Duda Date: Wed, 27 Jan 2021 18:05:47 +0100 Subject: SONAR-14396 Decorate PRs in Bitbucket Cloud --- .../src/main/java/org/sonar/scanner/platform/DefaultServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sonar-scanner-engine') diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java index 8be289a699b..77e294a2ff5 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/platform/DefaultServer.java @@ -73,7 +73,7 @@ public class DefaultServer extends Server { public String getPublicRootUrl() { String baseUrl = trimToEmpty(settings.get(CoreProperties.SERVER_BASE_URL).orElse("")); if (baseUrl.isEmpty()) { - // If server base URL was not configured in Sonar server then is is better to take URL configured on batch side + // If server base URL was not configured in Sonar server then it is better to take URL configured on batch side baseUrl = client.baseUrl(); } return StringUtils.removeEnd(baseUrl, "/"); -- cgit v1.2.3