Skip to content

Commit 946d39d

Browse files
committed
1 parent ad0fe1f commit 946d39d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Renci.SshNet/SftpClient.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2486,6 +2486,7 @@ private async Task InternalDownloadFileAsync(string path, Stream output, Cancell
24862486
}
24872487

24882488
#pragma warning disable S6966 // Awaitable method should be used
2489+
#pragma warning disable CA1849 // Call async methods when in an async method
24892490
private async Task InternalUploadFile(
24902491
Stream input,
24912492
string path,
@@ -2625,6 +2626,7 @@ private async Task InternalUploadFile(
26252626
}
26262627
}
26272628
#pragma warning restore S6966 // Awaitable method should be used
2629+
#pragma warning restore CA1849 // Call async methods when in an async method
26282630

26292631
/// <summary>
26302632
/// Called when client is connected to the server.

0 commit comments

Comments
 (0)