Skip to content

Commit 2bcae6e

Browse files
Update Source/NETworkManager.Settings/SettingsManager.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c7c743a commit 2bcae6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/NETworkManager.Settings/SettingsManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ private static string ValidateSettingsFolderPath(string path, string pathSource,
161161
return null;
162162
}
163163

164-
return fullPath.TrimEnd('\\');
164+
return Path.TrimEndingDirectorySeparator(fullPath);
165165
}
166166
catch (ArgumentException ex)
167167
{

0 commit comments

Comments
 (0)