mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
C#: Explicitly close writer in DependabotProxy
This commit is contained in:
@@ -62,6 +62,7 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
|
||||
|
||||
using var writer = certFile.CreateText();
|
||||
writer.Write(cert);
|
||||
writer.Close();
|
||||
|
||||
logger.LogInfo($"Stored Dependabot proxy certificate at {result.CertificatePath}");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user