Skip to content

Commit dd001d4

Browse files
committed
ignore NU1900
1 parent 47f328b commit dd001d4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<CodeAnalysisTreatWarningsAsErrors>false</CodeAnalysisTreatWarningsAsErrors>
1616
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
1717
<LangVersion>preview</LangVersion>
18-
<NoWarn>$(NoWarn);NU1507;NU5105;CS1591;NU1608</NoWarn>
18+
<NoWarn>$(NoWarn);NU1507;NU5105;CS1591;NU1608;NU1900</NoWarn>
1919
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2020
<RestoreSources>
2121
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json

test/coverlet.integration.tests/DotnetTool.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ public DotnetGlobalTools(ITestOutputHelper output)
2222
private string InstallTool(string projectPath)
2323
{
2424
_ = DotnetCli($"tool install coverlet.console --version {GetPackageVersion("*console*.nupkg")} --tool-path \"{Path.Combine(projectPath, "coverletTool")}\"", out string standardOutput, out string standardError, projectPath);
25+
if (!string.IsNullOrEmpty(standardError))
26+
{
27+
_output.WriteLine(standardError);
28+
}
2529
Assert.Contains("", standardError);
2630
Assert.Contains("was successfully installed.", standardOutput);
2731
return Path.Combine(projectPath, "coverletTool", "coverlet");

0 commit comments

Comments
 (0)