Add readonly to tempFolderPath field

This commit is contained in:
Tamas Vajk
2023-12-20 11:16:49 +01:00
parent 90fc54ca05
commit b1413a1d98

View File

@@ -144,7 +144,7 @@ namespace Semmle.Util
return nested;
}
private static Lazy<string> tempFolderPath = new Lazy<string>(() =>
private static readonly Lazy<string> tempFolderPath = new Lazy<string>(() =>
{
var tempPath = Path.GetTempPath();
var name = Guid.NewGuid().ToString("N").ToUpper();