Fix CA1865

This commit is contained in:
RoosterDragon
2023-11-15 19:09:09 +00:00
committed by Pavel Penev
parent 9f526610dd
commit 2ea2106eca
4 changed files with 8 additions and 3 deletions

View File

@@ -144,7 +144,7 @@ namespace OpenRA.FileSystem
public ZipFolder(ReadOnlyZipFile parent, string path)
{
if (path.EndsWith("/", StringComparison.Ordinal))
if (path.EndsWith('/'))
path = path[..^1];
Name = path;