Fix CA1865
This commit is contained in:
committed by
Pavel Penev
parent
9f526610dd
commit
2ea2106eca
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user