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 4ce3960 commit 61c118eCopy full SHA for 61c118e
src/Tasks/sdk-tasks/ExtractArchiveToDirectory.cs
@@ -185,7 +185,7 @@ private string GetFullDirectoryPathWithSeperator(string directory)
185
{
186
string fullDirectoryPath = Path.GetFullPath(directory);
187
188
- if (!fullDirectoryPath.EndsWith(Path.DirectorySeparatorChar.ToString()))
+ if (!fullDirectoryPath.EndsWith(Path.DirectorySeparatorChar.ToString(), StringComparison.OrdinalIgnoreCase))
189
190
fullDirectoryPath = string.Concat(fullDirectoryPath, Path.DirectorySeparatorChar);
191
}
0 commit comments