mapbox/node-pre-gyp — pull request #93 by Mithgol (2014-06-28 08:15:18+00:00)
Title: do not reinvent `path.resolve`

The code `path.join(process.cwd(), binary_module)` basically “reinvented the wheel” where `path.resolve` could be used instead. The behaviour of `path.resolve` is also correct when `binary_module` happens to be an absolute path.

This pull request also fixes #92. (A branch containing both of the fixes was necessary for testing.)