fix(SymlinkDownloader): Add search path to potential file paths
This commit is contained in:
parent
ee9e80f7d2
commit
8fe277fa52
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ public class SymlinkDownloader(String uri, String destinationPath, String path)
|
|||
|
||||
public async Task<String> Download()
|
||||
{
|
||||
_logger.Debug($"Starting symlink resolving of {uri}, writing to path: {path}");
|
||||
_logger.Debug($"Starting symlink resolving of {path} (uri = {uri}), writing to path: {destinationPath}");
|
||||
|
||||
try
|
||||
{
|
||||
|
|
@ -57,7 +57,7 @@ public class SymlinkDownloader(String uri, String destinationPath, String path)
|
|||
Speed = 0
|
||||
});
|
||||
|
||||
var potentialFilePaths = new List<String>();
|
||||
var potentialFilePaths = new List<String> { searchPath };
|
||||
|
||||
var directoryInfo = new DirectoryInfo(searchPath);
|
||||
while (directoryInfo.Parent != null)
|
||||
|
|
|
|||
Loading…
Reference in a new issue