Skip to content

Commit

Permalink
Merge branch 'hotfix/0.17.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoch committed Mar 12, 2019
2 parents 60a0b91 + 7926f55 commit 4834eea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [vNext]

## [0.17.7] / 2019-03-12
- Fixed `SystemColorOutputSink` to set `ForegroundColor`

## [0.17.6] / 2019-03-04
- Fixed `RequirementService` to check for `ParameterAttribute` when injecting values interactively

Expand Down Expand Up @@ -327,7 +330,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Added CLT tasks for Git
- Fixed background color in console output

[vNext]: https://github.com/nuke-build/common/compare/0.17.6...HEAD
[vNext]: https://github.com/nuke-build/common/compare/0.17.7...HEAD
[0.17.7]: https://github.com/nuke-build/common/compare/0.17.6...0.17.7
[0.17.6]: https://github.com/nuke-build/common/compare/0.17.5...0.17.6
[0.17.5]: https://github.com/nuke-build/common/compare/0.17.4...0.17.5
[0.17.4]: https://github.com/nuke-build/common/compare/0.17.3...0.17.4
Expand Down
6 changes: 3 additions & 3 deletions source/Nuke.Common/OutputSinks/SystemColorOutputSink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ private void WriteWithColors(string text, ConsoleColor foregroundColor)
{
var previousForegroundColor = Console.ForegroundColor;

// using (DelegateDisposable.CreateBracket(
// () => Console.ForegroundColor = foregroundColor,
// () => Console.ForegroundColor = previousForegroundColor))
using (DelegateDisposable.CreateBracket(
() => Console.ForegroundColor = foregroundColor,
() => Console.ForegroundColor = previousForegroundColor))
{
Console.WriteLine(text);
}
Expand Down

0 comments on commit 4834eea

Please sign in to comment.