diff --git a/TwitchDownloaderCLI/Modes/DownloadVideo.cs b/TwitchDownloaderCLI/Modes/DownloadVideo.cs index 0719481d..d30b4cce 100644 --- a/TwitchDownloaderCLI/Modes/DownloadVideo.cs +++ b/TwitchDownloaderCLI/Modes/DownloadVideo.cs @@ -1,5 +1,6 @@ using System; using System.IO; +using System.Linq; using System.Threading; using TwitchDownloaderCLI.Modes.Arguments; using TwitchDownloaderCLI.Tools; @@ -71,7 +72,7 @@ private static VideoDownloadOptions GetDownloadOptions(VideoDownloadArgs inputOp CacheCleanerCallback = directoryInfos => { logger.LogInfo( - $"{directoryInfos.Length} unmanaged video caches were found at '{inputOptions.TempFolder}' and can be safely deleted. " + + $"{directoryInfos.Length} unmanaged video caches were found at '{directoryInfos.FirstOrDefault()?.Parent?.FullName ?? inputOptions.TempFolder}' and can be safely deleted. " + "Run 'TwitchDownloaderCLI cache help' for more information."); return Array.Empty();