Skip to content

Commit 76395ba

Browse files
resolve editorconfig error
1 parent 8cf4aae commit 76395ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HttpClientToCurl/Utility/Helpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ private static string NormalizedPath(string path)
7878

7979
if (inputPath.EndsWith('/'))
8080
{
81-
inputPath = inputPath.Remove(inputPath.Length - 1);
81+
inputPath = inputPath[..^1];
8282
}
8383

8484
return inputPath;

0 commit comments

Comments
 (0)