Skip to content

Commit

Permalink
try to suppress colored output in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Inok committed Dec 30, 2023
1 parent ed665ba commit 4ff86b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Promote.NuGet.Tests/PromoteNugetProcessRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ public static ProcessWrapper Run(params string[] arguments)
ArgumentList = { "Promote.NuGet.dll" },
RedirectStandardOutput = true,
RedirectStandardError = true,
Environment =
{
["NO_COLOR"] = "1"
}
};

foreach (var argument in arguments)
Expand Down

0 comments on commit 4ff86b3

Please sign in to comment.