Polish Round 2 (#2411)
This commit is contained in:
parent
ba3e760b31
commit
a2fd87c454
35 changed files with 213 additions and 95 deletions
|
|
@ -369,6 +369,7 @@ public class DirectoryService : IDirectoryService
|
|||
/// <returns></returns>
|
||||
public void ClearDirectory(string directoryPath)
|
||||
{
|
||||
directoryPath = directoryPath.Replace(Environment.NewLine, string.Empty);
|
||||
var di = FileSystem.DirectoryInfo.New(directoryPath);
|
||||
if (!di.Exists) return;
|
||||
try
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue