lib/jenkins.js
function getBin(filename) {
    try {
        return escape(whichLocal.sync(filename));
    } catch (unused) {
        return escape(whichCwd.sync(filename));
    }
}
function getBin(filename) {
    try {
        return escape(whichLocal.sync(filename));
    } catch (unused) {
        return escape(whichCwd.sync(filename));
    }
}
function getBin ( filename ) { try { return escape ( whichLocal . sync ( filename ) ) ; } catch ( unused ) { return escape ( whichCwd . sync ( filename ) ) ; } }
Get the file location of this node_module binary
@method getBin
@param  {string} filename Bin you are looking for
@return {string}          Full path to the file
Get the file location of this node_module binary