mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
C#: Use var everywhere
This commit is contained in:
@@ -66,7 +66,7 @@ namespace Semmle.Util.Logging
|
||||
|
||||
try
|
||||
{
|
||||
string? dir = Path.GetDirectoryName(outputFile);
|
||||
var dir = Path.GetDirectoryName(outputFile);
|
||||
if (!string.IsNullOrEmpty(dir) && !System.IO.Directory.Exists(dir))
|
||||
Directory.CreateDirectory(dir);
|
||||
writer = new PidStreamWriter(
|
||||
|
||||
Reference in New Issue
Block a user