Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix for fs.appendFile failure when a callback isn't passed and an is error returned #3853

Closed
wants to merge 1 commit into
from
Commits on Aug 12, 2012
  1. fs: fix appendFile() error using null as function

    crazyrobot committed Aug 10, 2012
    Code defaulted to 'null' if a callback wasn't provided which would later be called as a function in the case of an error.
    Changed to use 'makeCallback' like on 'fs.symlink'.