giggio/node-chromedriver — pull request #10 by honzajavorek (2014-04-28 13:48:52+00:00)
Title: Fixed installation of the package for Node v0.8 and similar.

In recent Node versions there is a 'finish' event on Writable stream ( http://nodejs.org/api/stream.html#stream_event_finish ), but in older versions it was called 'close' ( http://nodejs.org/docs/v0.8.6/api/stream.html#stream_event_close_1 ).

Without listening on 'close', promise chain aborts on 'copyIntoPlace' without any notice, therefore following functions, such as 'fixFilePermissions', are never executed.

Fixes #9.