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 8cf4aae commit 76395baCopy full SHA for 76395ba
src/HttpClientToCurl/Utility/Helpers.cs
@@ -78,7 +78,7 @@ private static string NormalizedPath(string path)
78
79
if (inputPath.EndsWith('/'))
80
{
81
- inputPath = inputPath.Remove(inputPath.Length - 1);
+ inputPath = inputPath[..^1];
82
}
83
84
return inputPath;
0 commit comments