mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
C#: Address review comments.
This commit is contained in:
@@ -127,8 +127,8 @@ namespace Semmle.Util
|
||||
|
||||
if (parent != null)
|
||||
{
|
||||
string? name = Path.GetFileName(path);
|
||||
string? parentPath = cache.GetCanonicalPath(parent.FullName);
|
||||
var name = Path.GetFileName(path);
|
||||
var parentPath = cache.GetCanonicalPath(parent.FullName);
|
||||
try
|
||||
{
|
||||
string[] entries = Directory.GetFileSystemEntries(parentPath, name);
|
||||
|
||||
Reference in New Issue
Block a user