1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

Don't lowercase excludes filenames, we are case-sensitive everywhere else

This commit is contained in:
Kevin Glynn 2011-04-27 13:04:42 +02:00
parent 8eec6a60d1
commit 878dcf69de

View File

@ -236,7 +236,7 @@ namespace Twiglet.CS2J.Translator
{
string canonicalPath = Path.GetFullPath(root);
// If this is a directory, walk each file/dir in that directory
if (!excludes.Contains(canonicalPath.ToLower()))
if (!excludes.Contains(canonicalPath))
{
if (Directory.Exists(canonicalPath))
{