Skip to content

Commit b1413a1

Browse files
committed
Add readonly to tempFolderPath field
1 parent 90fc54c commit b1413a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/extractor/Semmle.Util/FileUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public static string NestPaths(ILogger logger, string? outerpath, string innerpa
144144
return nested;
145145
}
146146

147-
private static Lazy<string> tempFolderPath = new Lazy<string>(() =>
147+
private static readonly Lazy<string> tempFolderPath = new Lazy<string>(() =>
148148
{
149149
var tempPath = Path.GetTempPath();
150150
var name = Guid.NewGuid().ToString("N").ToUpper();

0 commit comments

Comments
 (0)