Skip to content

Commit 876c9be

Browse files
committed
Revert "Fix Symlink throwing error with new method call"
This reverts commit 47b01d5.
1 parent a5db8fe commit 876c9be

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/Plugins/Watchers/FSWatcher.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,7 @@ private void LoadWatcherSymlink(string path)
104104
}
105105
}
106106

107-
string realPath = str.ToString(0, str.Length);
108-
109-
#if DEBUG
110-
if (str.Length != count)
111-
{
112-
Interface.Oxide.LogDebug($"Path {path} returned a symlink at {realPath} but wrong length was reported | {count} != {str.Length}");
113-
}
114-
#endif
115-
107+
string realPath = str.ToString(0, count);
116108
string realDirName = Path.GetDirectoryName(realPath);
117109
string realFileName = Path.GetFileName(realPath);
118110

0 commit comments

Comments
 (0)