Skip to content

Commit

Permalink
(chocolatey#127) Make Dependency-Check paths absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
Windos committed Nov 7, 2023
1 parent d43c7b9 commit 25d9cd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Chocolatey.Cake.Recipe/Content/sonarqube.cake
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ BuildParameters.Tasks.InitializeSonarQubeTask = Task("Initialize-SonarQube")
if (BuildParameters.ShouldRunDependencyCheck)
{
SonarQubeSettings.ArgumentCustomization = args => args
.Append(string.Format("/d:sonar.dependencyCheck.jsonReportPath={0}", BuildParameters.Paths.Files.DependencyCheckJsonReportFilePath))
.Append(string.Format("/d:sonar.dependencyCheck.htmlReportPath={0}", BuildParameters.Paths.Files.DependencyCheckHtmlReportFilePath));
.Append(string.Format("/d:sonar.dependencyCheck.jsonReportPath={0}", MakeAbsolute(BuildParameters.Paths.Files.DependencyCheckJsonReportFilePath)))
.Append(string.Format("/d:sonar.dependencyCheck.htmlReportPath={0}", MakeAbsolute(BuildParameters.Paths.Files.DependencyCheckHtmlReportFilePath)));
};

SonarBegin(SonarQubeSettings);
Expand Down

0 comments on commit 25d9cd8

Please sign in to comment.