Skip to content

Commit

Permalink
Merge branch 'hotfix/0.5.2'
Browse files Browse the repository at this point in the history
* hotfix/0.5.2:
  (#38) Remove hardcoded parameter value
  • Loading branch information
gep13 committed May 2, 2022
2 parents 003d843 + 5c4a5f8 commit b7f799a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chocolatey.Cake.Recipe/Content/build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ BuildParameters.Tasks.BuildTask = Task("Build")
var xbuildSettings = new XBuildSettings()
.SetConfiguration(BuildParameters.Configuration)
.WithTarget("Build")
.WithProperty("TreatWarningsAsErrors", "true");
.WithProperty("TreatWarningsAsErrors", BuildParameters.TreatWarningsAsErrors.ToString());

XBuild(BuildParameters.SolutionFilePath, xbuildSettings);
}
Expand Down

0 comments on commit b7f799a

Please sign in to comment.