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.
2 parents 030cf92 + 4dad91c commit 6d5870dCopy full SHA for 6d5870d
src/Tasks/sdk-tasks/ExtractArchiveToDirectory.cs
@@ -186,7 +186,7 @@ private string GetFullDirectoryPathWithSeperator(string directory)
186
{
187
string fullDirectoryPath = Path.GetFullPath(directory);
188
189
- if (!fullDirectoryPath.EndsWith(Path.DirectorySeparatorChar.ToString()))
+ if (!fullDirectoryPath.EndsWith(Path.DirectorySeparatorChar.ToString(), StringComparison.OrdinalIgnoreCase))
190
191
fullDirectoryPath = string.Concat(fullDirectoryPath, Path.DirectorySeparatorChar);
192
}
0 commit comments