Skip to content

Commit

Permalink
remove unnecessary type cast
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdgun committed Jan 2, 2024
1 parent 7867b7f commit 8c73c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FileSystem.Adapters.Sftp/src/SftpAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public SftpAdapter(string prefix, string rootPath, ISftpClient client, Action<Sf

public override void Dispose()
{
((IBaseClient) client).Dispose();
client.Dispose();
}

public override async Task ConnectAsync(CancellationToken cancellationToken = default)
Expand Down

0 comments on commit 8c73c61

Please sign in to comment.