mrhooray/gulp-mocha-phantomjs — pull request #7 by fredericlb (2014-05-14 15:35:58+00:00)
Title: Support for no bin links flag in npm

When npm has the no bin links flag, phantomjs won't be located in the .bin folder as npm won't symlink it. These lines search for phantomjs in the standard node_modules folder to fix this case.