From 66c3f66ffbf888956c3b78531ccd58347abe5890 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 8 Jul 2024 15:28:25 -0500 Subject: remove symlink extensions --- src/slskd/Files/FileService.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/slskd/Files/FileService.cs') diff --git a/src/slskd/Files/FileService.cs b/src/slskd/Files/FileService.cs index aa2e42d4..eb261893 100644 --- a/src/slskd/Files/FileService.cs +++ b/src/slskd/Files/FileService.cs @@ -97,8 +97,7 @@ namespace slskd.Files // the link itself exists (which we've checked), and regardless of whether the link target itself exists. // we should only get this far if: // 1) the given file exists and - // 2) it is a symlink, meaning - // this line _SHOULD_ be guaranteed to return an instance of FileInfo. + // 2) it is a symlink, meaning this line _SHOULD_ be guaranteed to return an instance of FileInfo. try { info = (FileInfo)info.ResolveLinkTarget(returnFinalTarget: true); -- cgit v1.2.3