Merge pull request #15063 from hvitved/csharp/use-scratch-dir

C#: Use `CODEQL_EXTRACTOR_CSHARP_SCRATCH_DIR` instead of `Path.GetTempPath`
This commit is contained in:
Tom Hvitved
2023-12-12 08:16:04 +01:00
committed by GitHub
9 changed files with 65 additions and 37 deletions

View File

@@ -48,7 +48,7 @@ namespace Semmle.Extraction
writerLazy = new Lazy<StreamWriter>(() =>
{
var tempPath = trap ?? Path.GetTempPath();
var tempPath = trap ?? FileUtils.GetTemporaryWorkingDirectory(out var _);
do
{