Cleaned up some TODOs.
This commit is contained in:
parent
c75feb03e1
commit
44ebca36ec
3 changed files with 5 additions and 6 deletions
|
@ -51,9 +51,9 @@ namespace API.Services
|
|||
reSearchPattern.IsMatch(Path.GetExtension(file)));
|
||||
}
|
||||
|
||||
public static IList<string> GetFiles(string path)
|
||||
public static string[] GetFiles(string path)
|
||||
{
|
||||
if (!Directory.Exists(path)) return ImmutableList<string>.Empty;
|
||||
if (!Directory.Exists(path)) return Array.Empty<string>();
|
||||
return Directory.GetFiles(path);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue