mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 13:10:13 -07:00
Removed Trace Logging from FileExists.
Update will now use copy to update, instead of move.
This commit is contained in:
parent
2e3adf27ec
commit
a91c7bbff4
2 changed files with 1 additions and 2 deletions
|
@ -31,7 +31,6 @@ namespace NzbDrone.Common
|
||||||
|
|
||||||
public virtual bool FileExists(string path)
|
public virtual bool FileExists(string path)
|
||||||
{
|
{
|
||||||
Logger.Trace("Checking if File Exists: {0}", path);
|
|
||||||
return File.Exists(path);
|
return File.Exists(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ namespace NzbDrone.Update.Providers
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
_diskProvider.MoveDirectory(_enviromentProvider.GetUpdatePackageFolder(), targetFolder);
|
_diskProvider.CopyDirectory(_enviromentProvider.GetUpdatePackageFolder(), targetFolder);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue