We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5db8fe commit 876c9beCopy full SHA for 876c9be
src/Plugins/Watchers/FSWatcher.cs
@@ -104,15 +104,7 @@ private void LoadWatcherSymlink(string path)
104
}
105
106
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
+ string realPath = str.ToString(0, count);
116
string realDirName = Path.GetDirectoryName(realPath);
117
string realFileName = Path.GetFileName(realPath);
118
0 commit comments