mirror of
https://github.com/Readarr/Readarr.git
synced 2026-09-27 13:45:14 -04:00
Removed Trace Logging from FileExists.
Update will now use copy to update, instead of move.
This commit is contained in:
1 parent
2e3adf27ec
commit
a91c7bbff4
2 files changed
+1
-2
No files matched your search
@@ -31,7 +31,6 @@ public virtual bool FolderExists(string path)
|
||||
|
||||
public virtual bool FileExists(string path)
|
||||
{
|
||||
Logger.Trace("Checking if File Exists: {0}", path);
|
||||
return File.Exists(path);
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ public virtual void Start(string targetFolder)
|
||||
|
||||
try
|
||||
{
|
||||
_diskProvider.MoveDirectory(_enviromentProvider.GetUpdatePackageFolder(), targetFolder);
|
||||
_diskProvider.CopyDirectory(_enviromentProvider.GetUpdatePackageFolder(), targetFolder);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user