Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes lint changes
Browse files Browse the repository at this point in the history
Ersan Bozduman committed Jan 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 8545a76 commit ecea300
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Minio/DataModel/Args/GetObjectArgs.cs
Original file line number Diff line number Diff line change
@@ -90,11 +90,8 @@ public GetObjectArgs WithCallbackStream(Action<Stream> cb)
var taskCompletionSource = new TaskCompletionSource<bool>();

if (cancellationToken.IsCancellationRequested)
{
taskCompletionSource.SetCanceled();
}
else
{
try
{
cb(stream);
@@ -104,7 +101,6 @@ public GetObjectArgs WithCallbackStream(Action<Stream> cb)
{
taskCompletionSource.SetException(ex);
}
}

return taskCompletionSource.Task;
};

0 comments on commit ecea300

Please sign in to comment.