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 9876521 commit 2738f59Copy full SHA for 2738f59
src/MarkdownSnippets/FileEx.cs
@@ -15,7 +15,7 @@ public static string GetRelativePath(string file, string directory)
15
{
16
var fileUri = new Uri(file);
17
// Folders must end in a slash
18
- if (!directory.EndsWith(Path.DirectorySeparatorChar.ToString()))
+ if (!directory.EndsWith(Path.DirectorySeparatorChar))
19
20
directory += Path.DirectorySeparatorChar;
21
}
0 commit comments