From 8fe277fa5265379affe95e819df8c43969c79d56 Mon Sep 17 00:00:00 2001 From: Sculas Date: Tue, 7 Jan 2025 14:26:26 +0100 Subject: [PATCH] fix(SymlinkDownloader): Add search path to potential file paths --- .../Services/Downloaders/SymlinkDownloader.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs b/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs index 9739d0f..318b7ee 100644 --- a/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs +++ b/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs @@ -16,7 +16,7 @@ public class SymlinkDownloader(String uri, String destinationPath, String path) public async Task 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(); + var potentialFilePaths = new List { searchPath }; var directoryInfo = new DirectoryInfo(searchPath); while (directoryInfo.Parent != null)