mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed file enumerator GetFilePath case where no directory is specified
This commit is contained in:
parent
c39e6b587a
commit
8c79e26d40
1 changed files with 2 additions and 1 deletions
|
@ -193,7 +193,8 @@ namespace System.IO
|
|||
public void GetFilePath(String outPath)
|
||||
{
|
||||
Path.GetDirectoryPath(mSearchStr, outPath);
|
||||
outPath.Append(Path.DirectorySeparatorChar);
|
||||
if (!outPath.IsEmpty)
|
||||
outPath.Append(Path.DirectorySeparatorChar);
|
||||
GetFileName(outPath);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue