mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-27 08:32:04 +00:00
💄
This commit is contained in:
@@ -231,7 +231,7 @@ namespace Octokit.Internal
|
||||
return response;
|
||||
}
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope")]
|
||||
[SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope")]
|
||||
private static HttpRequestMessage CopyRequest(HttpRequestMessage oldRequest)
|
||||
{
|
||||
var newrequest = new HttpRequestMessage(oldRequest.Method, oldRequest.RequestUri);
|
||||
@@ -244,7 +244,7 @@ namespace Octokit.Internal
|
||||
{
|
||||
newrequest.Properties.Add(property);
|
||||
}
|
||||
|
||||
|
||||
return newrequest;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user