Fix nullable error in build (#1377)

This commit is contained in:
Rob Hague
2024-04-18 19:26:52 +02:00
committed by GitHub
parent 0fb38718e6
commit 953e1366f2
+1 -1
View File
@@ -121,7 +121,7 @@ namespace Renci.SshNet
{
get
{
return base.IsConnected && _sftpSession.IsOpen;
return base.IsConnected && _sftpSession?.IsOpen == true;
}
}