Skip to content

Commit

Permalink
Added LogErrorAsStandard to GitTasks to not handle text on error outp…
Browse files Browse the repository at this point in the history
…ut as tool error
  • Loading branch information
lg2de committed Nov 29, 2024
1 parent 482f5ac commit 6ef030b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [vNext]
- Added `LogErrorAsStandard` to `GitTasks` to not handle text on error output as tool error

## [9.0.1] / 2024-11-21
- Fixed `Options` serialization to JSON
Expand Down
2 changes: 2 additions & 0 deletions source/Nuke.Common/Tools/Git/GitTasks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@

using System;
using System.Linq;
using Nuke.Common.Tooling;

namespace Nuke.Common.Tools.Git;

[LogErrorAsStandard]
partial class GitTasks
{
public static bool GitIsDetached()
Expand Down

0 comments on commit 6ef030b

Please sign in to comment.