diff --git a/build/Build.cs b/build/Build.cs index 0beeef8..19e8d68 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -86,9 +86,7 @@ sealed class Build : NukeBuild .SetProjectKey("wonderking_continuity_AYeecUUTs-PH__JrTRky") .SetLogin(SonarToken) .SetServer(SonarHostUrl); - var sonarScannerEndSettings = new SonarScannerEndSettings() - .SetLogin(SonarToken) - .SetServer(SonarHostUrl); + var sonarScannerEndSettings = new SonarScannerEndSettings().SetLogin(SonarToken); SonarScannerTasks.SonarScannerBegin(sonarScannerSettings); DotNetTasks.DotNetBuild(settings => settings.SetNoRestore(true)); SonarScannerTasks.SonarScannerEnd(sonarScannerEndSettings);