mirror of
https://github.com/SabreTools/SabreTools.IO.git
synced 2026-11-15 16:41:58 +00:00
Fix incorrect replacement path
This commit is contained in:
@@ -262,7 +262,7 @@ namespace SabreTools.IO.Extensions
|
||||
continue;
|
||||
|
||||
// Reformat the link target based on relative paths
|
||||
linkTarget = linkTarget.Replace("/../../", "/dev/");
|
||||
linkTarget = linkTarget.Replace("../../", "/dev/");
|
||||
|
||||
// If the drive does not match
|
||||
if (!string.Equals(devicePath, linkTarget))
|
||||
|
||||
Reference in New Issue
Block a user