Skip to content

Commit

Permalink
Add todo about exceptions in properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoch committed Jun 12, 2018
1 parent 14644f5 commit a92d2de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/Nuke.Common/Tooling/Process2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public IEnumerable<Output> Output
{
get
{
// TODO: Should not throw exceptions
ControlFlow.Assert(_output != null, "_output != null");
ControlFlow.Assert(_process.HasExited, "_process.HasExited");
return _output.Select(x => new Output { Type = x.Type, Text = _outputFilter(x.Text) });
Expand Down

0 comments on commit a92d2de

Please sign in to comment.