sakren/node-fs-mock — pull request #6 by ericlathrop (2014-03-11 02:16:05+00:00)
Title: Fix #5. Pass error to callback in _write.

This fixes a bug where the 'finish' event is improperly emitted from the
write stream when the write stream is invalid and should only emit an
'error' event.