We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d48a62 commit 224049cCopy full SHA for 224049c
test/NetCoreTool.Template.WebApi.Test/ProjectOptionTest.cs
@@ -55,14 +55,8 @@ await TemplateSandbox(
55
sandbox.CommandExitCode.Should().Be(0, sandbox.CommandOutput);
56
Logger.WriteLine("building project");
57
var buildCmd = "dotnet build";
58
- // TODO: can we ignore specific F# warnings so we can error if there are unexpected warnings?
59
- if (ToLanguageEnum(languageOption) == Language.CSharp)
60
- {
61
- buildCmd += " /p:TreatWarningsAsErrors=True";
62
- }
63
-
+ buildCmd += " /p:TreatWarningsAsErrors=True";
64
await sandbox.ExecuteCommandAsync(buildCmd);
65
66
67
}
68
0 commit comments