Skip to content

Commit 45794dc

Browse files
committed
Fix formatting and warnigns
1 parent da9d3fc commit 45794dc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Renci.SshNet/SshCommand.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ public void CancelAsync(bool forceKill = false, int millisecondsTimeout = 500)
492492
/// <summary>
493493
/// Tries to send a POSIX/ANSI signal to the remote process executing the command, such as SIGINT or SIGTERM.
494494
/// </summary>
495-
/// <param name="signal">The signal to send</param>
495+
/// <param name="signal">The signal to send.</param>
496496
/// <returns>If the signal was sent.</returns>
497497
public bool TrySendSignal(CommandSignal signal)
498498
{
@@ -524,7 +524,7 @@ public bool TrySendSignal(CommandSignal signal)
524524
/// <summary>
525525
/// Tries to send a POSIX/ANSI signal to the remote process executing the command, such as SIGINT or SIGTERM.
526526
/// </summary>
527-
/// <param name="signal">The signal to send</param>
527+
/// <param name="signal">The signal to send.</param>
528528
/// <exception cref="ArgumentException">Signal was not a valid CommandSignal.</exception>
529529
/// <exception cref="SshConnectionException">The client is not connected.</exception>
530530
/// <exception cref="SshOperationTimeoutException">The operation timed out.</exception>
@@ -537,6 +537,7 @@ public void SendSignal(CommandSignal signal)
537537
{
538538
throw new ArgumentException("Signal was not a valid CommandSignal.");
539539
}
540+
540541
if (_tcs is null || _tcs.Task.IsCompleted || _channel?.IsOpen != true)
541542
{
542543
throw new InvalidOperationException("Command has not been started.");

0 commit comments

Comments
 (0)