We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d274a4a commit 9126705Copy full SHA for 9126705
1 file changed
csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/DependencyDirectory.cs
@@ -25,16 +25,16 @@ public DependencyDirectory(string subfolderName, string userReportedDirectoryPur
25
this.userReportedDirectoryPurpose = userReportedDirectoryPurpose;
26
27
string path;
28
- if (EnvironmentVariables.GetBuildlessDependencyDir() is string dir)
29
- {
30
- path = dir;
31
- attemptCleanup = false;
32
- }
33
- else
34
35
- path = FileUtils.GetTemporaryWorkingDirectory(out _);
36
- attemptCleanup = true;
37
+ // if (EnvironmentVariables.GetBuildlessDependencyDir() is string dir)
+ // {
+ // path = dir;
+ // attemptCleanup = false;
+ // }
+ // else
+ path = FileUtils.GetTemporaryWorkingDirectory(out _);
+ attemptCleanup = true;
+ //}
38
DirInfo = new DirectoryInfo(Path.Combine(path, subfolderName));
39
DirInfo.Create();
40
}
0 commit comments