cloudhead/vows — pull request #164 by nhunzaker (2011-12-08 00:44:50+00:00)
Title: Fixes an error in /bin/vows reading emacs buffer files on OSX

At the present, the vows command line tools choke on hidden emacs buffer files on OSX, throwing the following error:

`Error: ENOENT, no such file or directory 'test/.#example-test.js'``

This occurs right at the `statSync` on `line 518`. My humble guess is that the the emacs buffer file is an alias. I have fixed this by simply moving the preliminary file validations before the file is ever `statSync`'ed.

Hope it helps.