LearnBoost/console-trace — pull request #1 by saambarati (2012-03-27 20:19:54+00:00)
Title: Finding the correct file name when removing the cwd substring

I have normalized the strings in both getFileName() and cwd() to make sure they are being compared on an even level.

Once finding the cwd() portion of the getFileName(), I just return the original filename with the length of the cwd sliced away.

The reason I did this, was because on OS X, it wasn't removing the proper portion of the filename because the cases of each string didn't match.