Skip to content

Commit 653d68e

Browse files
committed
C#: Explicitly close writer in DependabotProxy
1 parent 952488c commit 653d68e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/DependabotProxy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public class DependabotProxy : IDisposable
6262

6363
using var writer = certFile.CreateText();
6464
writer.Write(cert);
65+
writer.Close();
6566

6667
logger.LogInfo($"Stored Dependabot proxy certificate at {result.CertificatePath}");
6768

0 commit comments

Comments
 (0)